Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 27541
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: pknewsgroups [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Mech 1.30 does not decompress content
Date: Tue, 12 Jun 2007 07:25:42 +0300
To: bug-www-mechanize [...] rt.cpan.org
From: "Peteris Krumins [Newsgroups]" <pknewsgroups [...] gmail.com>
Hello! If I chain get() with content(), then the content does not decompressed for some reasons. If I get(), and then call content() separately then the content does get decompressed. Here is an example where the content does not get decompressed: use WWW::Mechanize; $mech = WWW::Mechanize->new; print $mech->get('http://www.youtube.com/watch?v=h9MN2mKGZoo')->content; Here is an example where it does: use WWW::Mechanize; $mech = WWW::Mechanize->new; $mech->get('http://www.youtube.com/watch?v=h9MN2mKGZoo'); print $mech->content; I'm on latest Mech: c:\bin2\scripts>perl -MWWW::Mechanize -wle "print $WWW::Mechanize::VERSION" 1.30 P.Krumins