Skip Menu |

This queue is for tickets about the LWP-UserAgent-Patch-LogResponse CPAN distribution.

Report information
The Basics
Id: 84470
Status: resolved
Priority: 0/
Queue: LWP-UserAgent-Patch-LogResponse

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

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



Subject: log response body using HTTP::Response->decoded_content
When response body logging is activated and the server encodes content with gzip, gzipped data is output to the log which is unreadable. Please consider using HTTP::Response->decoded_content instead of HTTP::Response->content, or provide another "use" option such as "-decode_content" to allow users of this module to decode if needed.
On Sat Apr 06 09:22:00 2013, LXP wrote: Show quoted text
> When response body logging is activated and the server encodes content > with gzip, gzipped data is output to the log which is unreadable. > > Please consider using HTTP::Response->decoded_content instead of > HTTP::Response->content, or provide another "use" option such as "- > decode_content" to allow users of this module to decode if needed.
Done. Config is -decode_response_body, it's turned on by default. Released 0.07. Regards, Steven