W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2008

Re: server applying PUT to a resource other than the request-URI

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 21 Oct 2008 09:25:32 +0200
Message-ID: <48FD83EC.7090106@gmx.de>
To: Helge Hess <helge.hess@opengroupware.org>
CC: HTTP Working Group <ietf-http-wg@w3.org>

Helge Hess wrote:
> On 20.10.2008, at 22:35, Julian Reschke wrote:
>> And, again, how does a client find out about the request-URI? You will 
>> need
>>  If-None-Match: *
>> to avoid unintentional overwrites on /new.txt, but as soon as you 
>> include it, a conforming server will have to reject the request with 
>> 412 if /new.txt is already taken.
> So? Whats wrong with the 412? A client can easily deal with it.

Yes. But if the server returns 412, no resource was created, and the 
client still needs to figure out what request-URI to use.

Or are you suggesting that *any* unmapped URL is fine? What if the 
server wants to support both (client- and server-assigned URIs) in the 
same collection?

BR, Julian
Received on Tuesday, 21 October 2008 07:26:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:47 UTC