Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: LWP HTTP response is unreadable

by Corion (Patriarch)
on Oct 07, 2010 at 07:39 UTC ( [id://863927]=note: print w/replies, xml ) Need Help??


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
    normally gzipped responses have headers that indicate that

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://863927]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-18 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found