W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2003

Re: Content Encoding and transfer encoding

From: Scott Lawrence <scott-http@skrb.org>
Date: Mon, 28 Jul 2003 11:05:54 -0400
To: Diwakar Shetty <diwakar.shetty@oracle.com>
Cc: ietf-http-wg@w3.org
Message-ID: <m3d6fu6699.fsf@kathmandu.pingtel.com>

Diwakar Shetty <diwakar.shetty@oracle.com> writes:

> Suppose I want to compress as well as chunk the response using following
> response headers:
>
> Content-Encoding: gzip
> Transfer-Encoding: chunked
>
> What should be done first by server ? Chunking of response or compression
> of response ?

Content-Encoding applies to the entity; Transfer-Encoding appies to
the message body.  Since the entity is inside the message body, the
sender applies Content-Encoding first, then Transfer-Encoding; the
recipient does the reverse.

-- 
Scott Lawrence        
  http://skrb.org/scott/
  [ <lawrence@world.std.com> is deprecated ]
Received on Monday, 28 July 2003 11:05:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:23 GMT