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

Owner: Nobody in particular
Requestors: IKEGAMI [...]

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 [...]
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) ---------------------------------------------------------------- See or on CPAN.

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

Please report any issues with to