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 BC8CB10F06 for ; Fri, 7 Mar 2014 08:49:44 +0000 (UTC) Received: (qmail 94116 invoked by uid 500); 7 Mar 2014 08:49:44 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 94094 invoked by uid 500); 7 Mar 2014 08:49:43 -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 94086 invoked by uid 99); 7 Mar 2014 08:49:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 08:49:42 +0000 Date: Fri, 7 Mar 2014 08:49:42 +0000 (UTC) From: "clajder (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HTTPASYNC-71) ContentDecoder doesn't read from wrapped decompression stream created by ResponseContentEncoding proccessor 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/HTTPASYNC-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] clajder updated HTTPASYNC-71: ----------------------------- Priority: Minor (was: Major) > ContentDecoder doesn't read from wrapped decompression stream created by ResponseContentEncoding proccessor > ----------------------------------------------------------------------------------------------------------- > > Key: HTTPASYNC-71 > URL: https://issues.apache.org/jira/browse/HTTPASYNC-71 > Project: HttpComponents HttpAsyncClient > Issue Type: Bug > Reporter: clajder > Priority: Minor > Labels: decopression, httpprocessor > > Created http processor array like this > HttpProcessor httpproc = HttpProcessorBuilder.create() > .add(new RequestDefaultHeaders()) > .add(new RequestAcceptEncoding()) > .add(new RequestClientConnControl()) > .add(new RequestContent()) > .add(new ResponseContentEncoding()) > .add(new RequestTargetHost()).build(); > > later http async client constructed as follows > CloseableHttpAsyncClient httpclient = HttpAsyncClients.custom() > .setConnectionManager(connManager) > .setHttpProcessor(httpproc) > .setUserAgent(hc.getUserAgent()) > .setDefaultRequestConfig(defaultRequestConfig) > .build(); > during invocation > Future future = httpclient .execute(httpget, null); > HttpResponse response = future.get(); > entity.getContent() is not decompressed (gzip), however ResponseContentEncoding http processor was executed -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org