hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-834) Transparent Content Coding support
Date Wed, 18 Mar 2009 16:40:50 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683066#action_12683066
] 

Oleg Kalnichevski commented on HTTPCLIENT-834:
----------------------------------------------

I reviewed the patch and checked in the patch to the 4.1 branch:

http://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/branch_4_1/
http://svn.apache.org/viewvc?rev=755629&view=rev

Many thanks for this contribution, James.

I am also going to add your name to the list of project contributors, if do not mind.

The only problem with the current approach is that there is no way to disable or customize
the way content coding is handled per default. One can remove any standard protocol interceptor
and replace it with a custom one. This obviously will not work for ContentProcessor, which
is not nice. An alternative solution might be to simply use a different implementation class
derived from DefaultHttpClient.

I am looking forward to follow-up patches ;-)

Would you also be willing to look into content caching at some point of time?

Oleg

> Transparent Content Coding support
> ----------------------------------
>
>                 Key: HTTPCLIENT-834
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-834
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: HttpClient
>    Affects Versions: 4.0 Beta 3
>         Environment: Any
>            Reporter: James Abley
>         Attachments: 834-2009-03-17.patch, 834-svn-754998.patch
>
>
> I would like to see HttpClient features brought up to parity with other libraries, both
in Java and other languages. c.f. Python's httplib2 (not yet in the standard library, but
many would like to see it in there). That library transparently handles gzip and compress
content codings.
> This issue is to capture possible solutions to providing this sort of innate functionality
in HttpClient, so that users aren't required to know RFC2616 intimately. The HttpClient library
should do the right thing and use the network in the most efficient manner possible.

-- 
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


Mime
View raw message