boumenot/p5-Net-Amazon — pull request #1 by davecardwell (2011-11-07 02:07:05+00:00)
Title: Add support for HTTP compression where available, enabled by default.

Amazon’s web service implements HTTP compression so I have added support for this to Net::Amazon.

I have enabled it by default, but if you would prefer it to be opt-in let me know and I will make the tweaks to ```->new()``` and the documentation.

If you do not wish to add support for compression directly into Net::Amazon, please consider keeping my changes where I have modified ```$resp->content()``` to ```$resp->decoded_content()``` as this would still allow a user to do the following:

```perl
my $ua = LWP::UserAgent->new();
$ua->default_header('Accept-Encoding' => [ HTTP::Message::decodable() ]);

my $na = Net::Amazon->new(
ua => $ua,
# ...
);
```