bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Syntax for RESTful scripting options


From: Darshit Shah
Subject: Re: [Bug-wget] Syntax for RESTful scripting options
Date: Tue, 5 Mar 2013 19:06:03 +0530

Guess I'll use the style suggested by Angel.
Using --method <Method name> should not be a licensing problem with anyone
else I hope (Curl, I'm looking at you)

On Tue, Mar 5, 2013 at 7:00 PM, Daniel Stenberg <address@hidden> wrote:

> On Tue, 5 Mar 2013, Ángel González wrote:
>
>  wget --delete <URL pointing to resource that must be deleted>
>>>
>>
>  I would prefer something like --method=delete, which would also allow
>> other methods (eg. OPTIONS, TRACE, PROPFIND...)
>>
>
> Which incidentally is how curl does it (just with a differently named
> option):
>
>  $ curl --request DELETE http://example.com/
>
> --
>
>  / daniel.haxx.se




-- 
Thanking You,
Darshit Shah
Research Lead, Code Innovation
Kill Code Phobia.
B.E.(Hons.) Mechanical Engineering, '14. BITS-Pilani


reply via email to

[Prev in Thread] Current Thread [Next in Thread]