You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Jonathan Moore (JIRA)" <ji...@apache.org> on 2010/09/05 14:25:32 UTC

[jira] Created: (HTTPCLIENT-988) cache module should strip 'Content-Encoding: identity' from responses

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


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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] Updated: (HTTPCLIENT-988) cache module should strip 'Content-Encoding: identity' from responses

Posted by "Jonathan Moore (JIRA)" <ji...@apache.org>.
     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] Resolved: (HTTPCLIENT-988) cache module should strip 'Content-Encoding: identity' from responses

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-988.
------------------------------------------

    Fix Version/s: 4.1 Alpha3
       Resolution: Fixed

Patch checked in.

Oleg

> 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
>             Fix For: 4.1 Alpha3
>
>         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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org