Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33C4318866 for ; Fri, 29 May 2015 12:14:18 +0000 (UTC) Received: (qmail 98149 invoked by uid 500); 29 May 2015 12:14:18 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 98102 invoked by uid 500); 29 May 2015 12:14:18 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 98088 invoked by uid 99); 29 May 2015 12:14:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2015 12:14:18 +0000 Date: Fri, 29 May 2015 12:14:17 +0000 (UTC) From: "Michael Osipov (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HTTPCLIENT-1651) Add ability to disable content compression on a request basis MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564664#comment-14564664 ] Michael Osipov edited comment on HTTPCLIENT-1651 at 5/29/15 12:13 PM: ---------------------------------------------------------------------- ACK. I don't intend to break code. Whether deprecated code will be completely removed in 5.0 is another discussion. I'd handle harmonization in a separate ticket. was (Author: michael-o): ACK. I don't intend to break code. Whether deprecated code will be completely removed in 5.0 is another discussion. > 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 > Assignee: Michael Osipov > Fix For: 4.5, 5.0 > > > 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