cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: HTTP - Delete

From: <Bob_Rhodes_at_adp.com>
Date: Tue, 7 Dec 2004 16:22:33 -0500

Just haven't been able to figure out a way to tell cURL that I want to use
the "DELETE" method versus a "GET" or "PUT".

-----Original Message-----
From: Robert [mailto:5dx6ts03_at_sneakemail.com]
Sent: Tuesday, December 07, 2004 2:12 PM
To: curl-users_at_cool.haxx.se
Subject: Re: HTTP - Delete

According to the HTTP 1.1 RCF(RFC 2616) there IS a "DELETE" method.

  http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7

Now which servers have actually implemented that and how security works
and how you actually "Make It Go" are things I don't know.
But the authors of HTTP did lay the foundation and I'll bet that cURL has
support for sending this sort of HTTP command.

Good luck finding out if your HTTP server can do this trick and what the
caveats are!

--Robert

"curl tool talk curl-users-at-cool.haxx.se |cl|"
<...> writes:
>Is there a way to delete a file on a remote server using HTTP/HTTPS?
>
>
Received on 2004-12-07