On Sun, Jul 12, 2009 at 11:55 PM, thaakshana raala<[email protected]> wrote:
> Transfer-Encoding: chunked
> Content-Encoding: gzip
> According to http 1.1,
> do the chunks have to be decompressed chunk by chunk and then assembled or
> assemble the whole message and then decompress the whole message?
> Gamini.
Content-Encoding is on the "inside", so you dechunk then decompress.
7.2.1 Type
When an entity-body is included with a message, the data type of that
body is determined via the header fields Content-Type and Content-
Encoding. These define a two-layer, ordered encoding model:
entity-body := Content-Encoding( Content-Type( data ) )
4.3 Message Body
The message-body (if any) of an HTTP message is used to carry the
entity-body associated with the request or response. The message-body
differs from the entity-body only when a transfer-coding has been
applied, as indicated by the Transfer-Encoding header field (section
14.41).
message-body = entity-body
| <entity-body encoded as per Transfer-Encoding>
--
Eric Covener
[email protected]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]