Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Mechanize Returns Garbled Content

by trwww (Priest)
on Jun 28, 2011 at 22:31 UTC ( #911862=note: print w/ replies, xml ) Need Help??


in reply to Mechanize Returns Garbled Content

or what about:

print $m->res->decoded_content

?

EDIT: your code works fine for me... maybe there is a proxy between you and google that compresses the data?

EDIT 2: I didn't see where you said it was working ok on your machine... my guess is still some type of proxy between the machine it is not working properly on and google.


Comment on Re: Mechanize Returns Garbled Content
Download Code
Re^2: Mechanize Returns Garbled Content
by Anonymous Monk on Jun 28, 2011 at 22:50 UTC
    On the 'good' machine, it returned the google content page. On the 'bad' machine, it did not return anything.
Re^2: Mechanize Returns Garbled Content
by Anonymous Monk on Jun 28, 2011 at 23:31 UTC
    I spoke to our admin people and they confirmed that there is no proxy sitting between the 'bad' machine and google.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-08-23 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (175 votes), past polls