W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2002


From: Stefan Eissing <stefan.eissing@greenbytes.de>
Date: Mon, 18 Feb 2002 11:03:51 +0100
Cc: <w3c-dist-auth@w3c.org>
To: "Lisa Dusseault" <lisa@xythos.com>
Message-Id: <CEEDE441-2456-11D6-863C-00039384827E@greenbytes.de>

Am Sonntag den, 17. Februar 2002, um 04:19, schrieb Lisa Dusseault:

> Stefan Eissing wrote:
>> Am Freitag den, 15. Februar 2002, um 01:57, schrieb Daniel Brotsky:
>>> The question: what's the mime-type of the newly-created resource?
>>> Now I know that many servers use file extensions to determine
>>> mime-type, so the name of the resource could be used to provide a
>>> mime-type.  But for other servers that expect clients to supply a
>>> Content-type header on PUT (or at least pay attention to them),
>>> what should happen?
>>> My proposal: do not mandate behavior around this; leave the spec
>>> silent.  That way the spec is silent about mime-type of LOCK
>>> created resources exactly as it's silent about the mime type of
>>> PUT resources.
>> Yesterday we had internally the discussion about the mime-type of
>> a resource with length 0. I think we did not come to a good conclusion
>> and the whole mime-type handling is a mess anyway.
>> The only thing we could agree upon is that a client supplied mime-type
>> on PUT should be persistet (if possible) and override any name 
>> extension
>> guesswork.
> Application/octet-stream is the generally accepted "don't know 
> what else to
> use" MIME type, the default MIME type.  At least if we specify it, 
> behavior
> will definitely be consistent.  What's the virtue of not specifying it?

Can we specify answers for all questions below?

1. When a client creates a resource with 
"application/octet-stream", should
the server make a guess and replace octet-stream with another mime type?

2. When a client creates a resource without mime type, should
the server make a guess or report application/octet-stream?

3. When a server reports application/octet-stream, should a client take
a guess in order to open an application/show an icon?

4. When a server reports another mime type, is a client allowed to take
a guess anyway and disregard the server supplied mime type? How does
a client know that the mime type was not "guessed" by the server?

> I do agree that when a content-type is included in a PUT 
> overwriting the
> empty resource, that should become the new content-type.  However 
> isn't that
> always the case, whether the resource was previously empty or not?

Yes. The question is more what content-type to report on an empty 

> Lisa
Received on Monday, 18 February 2002 05:04:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:25 UTC