in reply to LWP HTTP response is unreadable
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LWP HTTP response is unreadable
by Anonymous Monk on Oct 10, 2010 at 01:59 UTC |