Document HTTP encoding limitations for Fetch plugins #406
Labels
🐞Bug
Something fails that should not (not a feature)
📖Documentation
Needs new or re-worded documentation
In a particular case, I had a server that was always returning a response with
Content-Encoding: gzip
:regardless of content negotiation via
Accept-Encoding:
in the request.Well, it was. This got fixed yesterday so it no longer applies. But
continuing with the issue...
Since the content negotiation was not working properly, I believe that using
Fetch::HTTPTiny
,Fetch::CurlCommand
, orFetch::Wget
plugins would breakwhen trying to pass the
text/html
content as they would not be able to decodethe content. By changing the Fetch plugin to
Fetch::LWP
, the response wouldbe decoded properly.
The text was updated successfully, but these errors were encountered: