June 2000
Beginner to intermediate
80 pages
2h 49m
English
Since PUT creates new URLs on the server, it seems appropriate to have a mechanism to delete URLs as well. The DELETE method does what you think it would do.
A client request might read:
DELETE /images/logo22.gif HTTP/1.1 Host: hypothetical.ora.com
The server responds with a success code upon success:
HTTP/1.0 200 OK Date: Fri, 04 Oct 1996 14:31:51 GMT Server: HypotheticalPublish/1.0 Content-type: text/html Content-length: 21 <h1>URL deleted.</h1>
Needless to say, any server that supports the DELETE method is likely to request authorization before carrying through with the request.
Read now
Unlock full access