W3C home > Mailing lists > Public > www-ws-desc@w3.org > January 2007

Re: The HTTP header to be used for a gzip message

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 12 Jan 2007 10:49:17 -0500
To: keith chapman <keithgchapman@gmail.com>
Cc: www-ws-desc <www-ws-desc@w3.org>
Message-Id: <1168616958.3040.86.camel@localhost>

On Fri, 2007-01-12 at 14:30 +0530, keith chapman wrote:
> Hi,
> Does the spec state the HTTP header to use when a message is encoded
> as gzip. I  had a look at section "6.3.2 HTTP Transfer Coding
> Selection" it does not state anything to this regard. The test
> framework looks for the header "Transfer-Encoding=gzip" but axis2 uses
> the header "Content-Encoding: gzip" .

  This [Transfer-Encoding] differs from the content-coding in that the
transfer-coding is a property of the message, not of the entity.

I believe Transfer-Encoding is the one to use. With the set of value
available in section 3.6 of the HTTP RFC [1]. Note that "identity" can't
be used anymore in as a transfer codings, according to the latest
editors version of the HTTP RFC that includes errata [2].

Given your question, the spec needs clarification.


[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6
Received on Friday, 12 January 2007 15:49:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:07:05 UTC