[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editorial section 9.3: updating
* Elliotte Harold <elharo@xxxxxxxxxxxxxxx> [2007-03-10 18:55]:
> Here's a concern: the serve can certainly accept everything and
> return a 200 OK response. It can reject everything and return
> various 400-level responses.
>
> But what HTTP response code is it supposed to return if it
> accepts half the request and ignores the other half? If it
> changes the title and the summary and ignores the rest?
If the server is content to process the response in some way,
the most appropriate response would be whichever 2xx status is
applicable.
> A. Can I expect the server to maintain the old summary, author, and link?
> B. Can I expect the server to delete the old summary, author, and link?
> C. Do I have no reason to expect either result?
You can’t expect any particular result. The server can do
whatever it wants, in which whichever way it chooses to. If you
want to know what really became of the resource after your
request, you have to GET it (making sure to add the appropriate
caching-relevant headers).
The AtomPP is not a filesystem. The server is under no obligation
to preserve any part of the document.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>