On 9 January 2014 12:22, Oleg Kalnichevski <ol...@apache.org> wrote:
> On Thu, 2014-01-09 at 12:10 +0000, sebb wrote:
>> On 9 January 2014 09:06, Oleg Kalnichevski <ol...@apache.org> wrote:
>> > On Wed, 2014-01-08 at 18:29 -0800, Gaurav Kumar wrote:
>> >> Thanks! I am now able to see content-encoding. However, the example I
>> >> followed showed how to add interceptors on global client instance level -
>> >> is there a way I can add interceptor on per-request basis?
>> >>
>> >>
>> >
>> > Protocol interceptors are meant for cross-cutting aspects that apply to
>> > all messages processed by the same protocol processor. They make no
>> > sense on per request basis.
>> >
>> > If you want full control over content encoding on per request basis then
>> > you should disable automatic content decompression.
>>
>> Does the decompression change the content encoding?
>>
>> If not, I don't see why the header is not kept.
>>
>
> Naturally it does, from 'gzip' or 'compress' to 'identity'.

Sorry, was getting confused with Content-Type.

> Oleg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
> For additional commands, e-mail: httpclient-users-h...@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to