W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

Re: PROPOSAL: content sniffing [#155]

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 09 Apr 2009 17:08:56 +0200
Message-ID: <49DE0F88.70601@gmx.de>
To: Brian Smith <brian@briansmith.org>
CC: 'HTTP Working Group' <ietf-http-wg@w3.org>
Brian Smith wrote:
> My suggestion is:
> 
> 1. Remove 3.2.1 completely.

I think this goes to far, as it explains the interaction between 
Content-Encoding and Content-Type.

> 2. Remove all references to 3.2.1 (especially the one in section 5.9).
> 3. Add the statement "A message containing an entity-body SHOULD include a
> Content-Type header field defining the media type of that body" to section
> 5.9.
> 
> Since the "MUST" requirement for Content-Encoding is in 5.5, it makes sense
> to have the "SHOULD" requirement for Content-Type in 5.9. And, the
> specification should avoid duplication as much as possible.

That makes sense.

Related issue: Section 5.5 currently is phrased as if Content-Encoding 
only works in presence of Content-Type:

"The entity-header field "Content-Encoding" is used as a modifier to the 
media-type. When present, its value indicates what additional content 
codings have been applied to the entity-body, and thus what decoding 
mechanisms must be applied in order to obtain the media-type referenced 
by the Content-Type header field."

It seems to me we should rephrase that as well.

BR, Julian
Received on Thursday, 9 April 2009 15:20:50 GMT

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