|
|
| Just another Perl shrine | |
| PerlMonks |
how to add a refer to LWP::UserAgentby coldfingertips (Pilgrim) |
| on May 22, 2006 at 15:04 UTC ( [id://551008]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.coldfingertips has asked for the wisdom of the Perl Monks concerning the following question:
I read a post on how to fake an HTTP referer but that was for WWW::Mechanze and I'm working with LWP::UserAgent. I came across this code So I am thinking that it can be done through here, but what would I use? ua->default_header('Referer' => "test"); , ua->default_header('referer' => "test");, ua->default_header('Refer' => "test"); , ua->default_header('refer' => "test"); , etc. Thanks everyone.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||