W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2015

Clarification of HTTP Delete rules

From: Grahame Grieve <grahame@healthintersections.com.au>
Date: Tue, 14 Jul 2015 06:30:24 +1000
Message-ID: <CAG47hGYv-N0u697ppFBePuz_RnMgk27cgVr-tLxw1xU16GqmzQ@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
in https://tools.ietf.org/html/rfc2616#section-9.7 it says:

   The DELETE method requests that the origin server delete the resource
   identified by the Request-URI.

So you can issue DELETE /document/by/id which deletes a resource.

But can you legally do this?

DELETE /document?param=some value

where multiple entities that can get a subject of a GET request
individually can be deleted - whatever match the query parameters. Are the
words "the resource" meant to exclude this use or not?


http://www.healthintersections.com.au / grahame@healthintersections.com.au
/ +61 411 867 065
Received on Monday, 13 July 2015 20:30:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:45 UTC