W3C home > Mailing lists > Public > www-tag@w3.org > May 2003

RE: Draft TAG finding available: Client handling of MIME headers

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 6 May 2003 21:21:51 +0200
To: "Ian B. Jacobs" <ij@w3.org>, <www-tag@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCCEONHDAA.julian.reschke@gmx.de>

Ian,

this is a very good read. I have a related question:

Let's assume that an HTTP user agent uses PUT to send an entitity body to an
HTTP server, but neglects to provide a content-type header. What's the
recommend server behaviour for subsequent GET requests to that resource?

1) do not send a content type header (server refuses to guess),

2a) guess content type based on "extension" (hmph...) or

2b) guess content type based on content (for instance after successfully
parsing as HTML)

3) ...?


Note that 2a) is what currently Apache/moddav does, and this really seems to
be a very bad idea.


Regards,

Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Tuesday, 6 May 2003 15:22:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:38 UTC