Skip Menu |
 

This queue is for tickets about the XML-TreePP CPAN distribution.

Report information
The Basics
Id: 47336
Status: resolved
Priority: 0/
Queue: XML-TreePP

People
Owner: Nobody in particular
Requestors: IKEGAMI [...] cpan.org
Cc:
AdminCc:

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



Subject: Handle HTTP encodings such as gzip
Download (untitled) / with headers
text/plain 266b
In parsehttp_lwp, please change my $text = $res->content(); to # Use decoded_content to handle HTTP Content-Encoding my $text = $res->decoded_content( charset => 'none' ); This will allow your module to handle compressed HTTP responses transparently.
RT-Send-CC: xml-treepp [...] yahoogroups.com
Download (untitled) / with headers
text/plain 614b
Hi ikegami-san and Steven, Thank you both for reporting this. I've just released version 0.39 of XML::TreePP for fix it. ---------------------------------------------------------------- 2009/06/30 (0.39) * parsehttp now uses decoded_content method under LWP 5.802. This allows compressed content by Content-Encoding: gzip, etc. (thanks to cormanaz and ikegami) http://perlmonks.org/?node_id=774537 http://rt.cpan.org/Public/Bug/Display.html?id=47336 ---------------------------------------------------------------- See http://www.kawa.net/works/perl/treepp/treepp-e.html or on CPAN.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.