[ale] OT: LWP::Simple and referer?
Fletch
fletch at phydeaux.org
Wed Feb 19 11:26:56 EST 2003
>>>>> "Robert" == Robert L Harris <Robert.L.Harris at rdlg.net> writes:
[...]
Robert> Does anyone know if a referer value or such can be passed
Robert> with LWP?
Not using LWP::Simple (but then it's not common so it's not simple :),
but if you craft the HTTP::Request object by hand you can do
`$req->referer( $url );' to set the header and then pass that to your
LWP::UserAgent instance to fetch.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list