Subject: | oauth_update_from_response does not use decoded_content |
Date: | Sun, 16 Apr 2017 19:53:05 +0100 |
To: | bug-LWP-Authen-OAuth [...] rt.cpan.org |
From: | Alexander Clouter <alex [...] digriz.org.uk> |
Typically with my LWP::UserAgent scripts I add the following to enable
compression for all my requests:
$ua->default_header(
'Accept-Encoding' => scalar HTTP::Message::decodable());
);
When fetching the request token and access token's, calling
oauth_update_from_response($r) fails to work as LWP::Authen::OAuth does not use
$r->decoded_content; thus it tries to digest directly the compressed content.
Kind Regards