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

Re: Unknown content types

From: Tim Bray <tbray@textuality.com>
Date: Wed, 09 Jul 2003 13:23:16 -0700
Message-ID: <3F0C79B4.4070403@textuality.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Paul Prescod <paul@prescod.net>, WWW-Tag <www-tag@w3.org>

Julian Reschke wrote:


> 1) If a sender (mail agent, HTTP server, ....) doesn't know the MIME type,
> specify "application/octet-stream" (note that RFC2616, section 7.2.1 [1]
> says "...SHOULD include a Content-Type header..."). In turn, allow
> recipients to override the supplied MIME type if and only if it equals
> "application/octet-stream" and to guess (for instance by peeking into the
> content).
> 
> or
> 
> 2) If a sender (mail agent) / server (HTTP server) doesn't know the MIME
> type, DO NOT SEND IT. This allows the recipient to guess and/or consult the
> user.
> 
> (my personal preference would be alternative 2 because it doesn't require to
> special-case one particular MIME type).

+1.

-- 
Cheers, Tim Bray
         (ongoing fragmented essay: http://www.tbray.org/ongoing/)
Received on Wednesday, 9 July 2003 16:23:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:18 GMT