- From: Chimezie Ogbuji <ogbujic@ccf.org>
- Date: Wed, 20 Oct 2010 11:03:54 -0400
- To: "Kjetil Kjernsmo" <kjetil@kjernsmo.net>, public-rdf-dawg-comments@w3.org
Hey Kjetil. On 10/20/10 10:48 AM, "Kjetil Kjernsmo" <kjetil@kjernsmo.net> wrote: > 1) If the <graph_uri> does not exist before the deletion, do I have to > return a 404? Yes. The last paragraph of section 5 is meant to apply to all the operations regarding both 404 and 204: "If existing RDF knowledge is modified, either the 200 (OK) or 204 (No Content) response codes SHOULD be sent to indicate successful completion of the request [..] If the RDF knowledge identified in the request does not exist in the server, and the operation requires that it does, a 404 (Not Found) response code SHOULD be provided in the response." DELETE requests require the existence of the resource it is addressing, so a 404 needs to be returned. > 2) Why can I only return a 200, and not a 204 if successful? See above. -- Chime =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S.News & World Report (2009). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
Received on Wednesday, 20 October 2010 15:06:20 UTC