- 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
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 UTC