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.

Regards
James

Reply via email to