You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/05/25 19:27:17 UTC
[jira] [Comment Edited] (HTTPCLIENT-1651) Add ability to disable
content compression on a request basis
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558397#comment-14558397 ]
Michael Osipov edited comment on HTTPCLIENT-1651 at 5/25/15 5:26 PM:
---------------------------------------------------------------------
This is exactly what I head in mind. Pretty simple but very effective.
The opposite is probably not possible: disable globally, enable locally. If you disable globally, the intercepter won't be registered at all.
was (Author: michael-o):
This is exactly what I head in mind. Pretty simple but very effective.
> Add ability to disable content compression on a request basis
> -------------------------------------------------------------
>
> Key: HTTPCLIENT-1651
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1651
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 4.4.1
> Reporter: Michael Osipov
> Fix For: 4.5
>
>
> We use one client for serveral, different requests. Most of the are {{application/xml}} where compression is appropriate but some transport big binary data. Those requests drop from 30 MB/s to 5 to 7 MB/s.
> Unfortunately, compression can only be disabled client-wide. A {{RequestConfig}} or {{HttpContext}} boolean flag for {{RequestContentEncoding}} processor would be great.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org