[
https://issues.apache.org/jira/browse/HTTPCLIENT-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Moore updated HTTPCLIENT-988:
--------------------------------------
Attachment: identity-content-encoding.patch
The attached patch fixes this issue by filtering "Content-Encoding: identity"
out of upstream responses.
This patch is contributed with the permission of my employer.
> cache module should strip 'Content-Encoding: identity' from responses
> ---------------------------------------------------------------------
>
> Key: HTTPCLIENT-988
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-988
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: Cache
> Affects Versions: 4.1 Alpha2
> Reporter: Jonathan Moore
> Priority: Trivial
> Attachments: identity-content-encoding.patch
>
>
> Per the RFC, the "identity" content coding SHOULD NOT be used in the
> Content-Encoding header:
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.5
> The current implementation will pass 'Content-Encoding: identity' through
> unchanged, although it would be simple enough to filter this out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]