On Mar 24, 2006, at 7:24 PM, James Holderness wrote:
Roy T. Fielding wrote:
None of this thread's suggestions are necessary. If the entry is
created and the response is 201, then Location will contain the
URL of the entry. If Content-Location is also supplied (indicating
the URL of the response content), then
Content-Location == Location
means the response message contains a representation of the entry
at that location. It is already defined and generic to HTTP.
But if you're posting to a media collection, then Location will
contain the URL of the media resource itself. So if the response
content is an Atom entry document then its Content-Location can't
possibly be equal to the Location.
Right. That is what we want to happen in that situation. The client
finds out that what it received back is not a representation of
the media resource that was posted.
....Roy