![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
how to add a refer to LWP::UserAgentby coldfingertips (Pilgrim) |
on May 22, 2006 at 19:04 UTC ( [id://551008]=perlquestion: print w/replies, xml ) | Need Help?? |
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
|
|