Re: JSR311: Limit extensions pre-processing

From: Stephan Koops <>
Date: Tue, 15 Jul 2008 11:54:11 +0200

Hi Marc,
>> For PUT (and e.g. POST) I prefer not to use the conneg in the now
>> defined way for another reason: If I send an entity e.g. a file from
>> a filesystem, and the file name ends with ".xml" for example, than
>> the xml is the mime type of the file to upload and not the requested
>> mime type.
> I don't see why the two are tied together, I could POST a HTML form to
> a resource and ask for an XML representation back. The extension
> mapping was always intended to be an alternative to the Accept header
> nothing else.
Yes, I know. I only wanted to say, that this is the behaviour that I
would expect as user, if I'm using it with PUT.

best regards