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

Re: NEW ISSUE: content sniffing

From: Adam Barth <w3c@adambarth.com>
Date: Wed, 1 Apr 2009 10:09:30 -0700
Message-ID: <7789133a0904011009l2e8169fas9f8e12ebc6ed996c@mail.gmail.com>
To: Mark Baker <mark@coactus.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>, HTTP Working Group <ietf-http-wg@w3.org>
2009/4/1 Mark Baker <mark@coactus.com>:
> On Wed, Apr 1, 2009 at 12:20 PM, Adam Barth <w3c@adambarth.com> wrote:
>> From http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1
>> "If and only if the media type is not given by a Content-Type field,
>> the recipient MAY attempt to guess the media type via inspection of
>> its content and/or the name extension(s) of the URI used to identify
>> the resource."
> Thanks.  I would be happy to remove that text, not to encourage
> sniffing, but because it has nothing to do with the HTTP protocol.

That about the sentence below?

"Content-Type specifies the media type of the underlying data."

Are you suggesting we remove Section 7.2.1 entirely and replacing it
with another document that specifies how to determine the data type of
an HTTP response?  We could use draft-abarth-mime-sniff for this
purpose (suitably altered to allow for the possibility of not

Received on Wednesday, 1 April 2009 17:10:22 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:19 UTC