|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: LWP - 500 Internal Errorby Anonymous Monk |
| on Jul 07, 2010 at 08:33 UTC ( #848398=note: print w/ replies, xml ) | Need Help?? |
|
You should set 'agent' parameter for your userAgent object. It seems that some sites verify user_agent field in Request and reject connection if it is empty or differs from common variants like 'mozilla', 'opera', etc >> $useragent -> agent( 'Mozilla' );
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||