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.$ua->default_header('Accept-Language' => "no, en");
Thanks everyone.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to add a refer to LWP::UserAgent
by sulfericacid (Deacon) on May 22, 2006 at 19:21 UTC | |
Re: how to add a refer to LWP::UserAgent
by gellyfish (Monsignor) on May 22, 2006 at 19:22 UTC | |
Re: how to add a refer to LWP::UserAgent
by BigRare (Pilgrim) on May 22, 2006 at 19:27 UTC | |
Re: how to add a refer to LWP::UserAgent
by Joost (Canon) on May 22, 2006 at 19:23 UTC | |
Re: how to add a refer to LWP::UserAgent
by ww (Archbishop) on May 22, 2006 at 19:32 UTC | |
by Fletch (Bishop) on May 22, 2006 at 19:45 UTC | |
by Joost (Canon) on May 22, 2006 at 19:53 UTC |
Back to
Seekers of Perl Wisdom