Re: PATCH, Expect, Prefer, etc

Cyrus Daboo wrote:
> ...
>> OK, let me rephrase that: I don't want a default status, but a default
>> preference; and that should be not to return the whole entity.
> 
> +1 The client should be the one to decide whether the new entity is 
> returned or not, and we need an appropriate header for the client to 
> indicate that decision to the server. We should also extend PUT/POST to 
> support that new header too so that the new entity after a PUT/POST 
> could be returned.

+1

Correct. This could be the missing piece for 
<http://greenbytes.de/tech/webdav/draft-reschke-http-etag-on-write-latest.html>, 
allowing the client to tell the server that it wants the new entity to 
be sent back if it's not identical to what was PUT.

Best regards, Julian

Received on Friday, 3 August 2007 13:34:39 UTC