You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Alin Vasile (JIRA)" <ji...@apache.org> on 2011/03/04 21:47:46 UTC
[jira] Commented: (HTTPCLIENT-1063) ResponseContentEncoding should
also handle x-gzip, compress and x-compress
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002803#comment-13002803 ]
Alin Vasile commented on HTTPCLIENT-1063:
-----------------------------------------
Compress and x-compress seems to use LZA - a variant of LZW. I tested some implementation in java found on internet (http://www.aprogrammersblog.co.uk/tutorials/java-uncompressing-z-unix-compress-files/) with the latest version of http-client and it decodes correctly a .Z file archived in solaris with 'compress' and put on an httpd server on windows. Not sure how licensed is that code so you can use it.
> ResponseContentEncoding should also handle x-gzip, compress and x-compress
> --------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1063
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1063
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 4.1 Final
> Reporter: Martin Zdila
> Priority: Trivial
>
> ResponseContentEncoding should also handle x-gzip, compress and x-compress encodings according to specs (http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html, 3.5 Content Codings).
> Also RequestAcceptEncoding should set Accept-Encoding to "gzip,deflate,identity". I am not sure about x-gzip, compress and x-compress here though.
> Thanks
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org