Re: I-D Action:draft-snell-http-prefer-03.txt

On 30.03.2011 06:58, Thomson, Martin wrote:
> ...
> Having a PUT and GET merged sounds like a useful idea.
>
> There's an inherent assumption in this that I don't think you've considered.  The response to a PUT might already be an entity with some purpose (e.g. feedback about the change of a different nature).  For one, that means that - unlike a regular GET - the entity in the response cannot be assumed to be a representation of the resource.  That doesn't mean that you can't merge the two, but I'd have to suggest a specific indication.  It might be as simple as setting Content-Location.
 > ...

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-13.html#identifying.response.associated.with.representation>, 
item 3, indicates that Content-Location can be used for this.

Best regards, Julian

Received on Wednesday, 30 March 2011 07:29:55 UTC