Don't ask to ask, just ask | |
PerlMonks |
Re: LWP HTTP response is unreadableby Corion (Patriarch) |
on Oct 07, 2010 at 07:39 UTC ( [id://863927]=note: print w/replies, xml ) | Need Help?? |
If the URL works from within the browser, my guess is that the response is gzip-encoded. Try looking at $resp->decoded_content, the Transfer-Encoding header, or look at what WWW::Mechanize does to get at the plain data from gzipped responses.
In Section
Seekers of Perl Wisdom
|
|