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 22:50:09 +0530

Need some help with writing a test for this functionality.
I have implemented a --method=HHTPMethod command that currently supports
DELETE only.

I would be very grateful if someone can help me with writing a test to
ensure that this is working correctly.
Attaching the patch file that adds this functionality.

On Tue, Mar 5, 2013 at 7:06 PM, Darshit Shah <address@hidden> wrote:

> 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
>



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

Attachment: 0001-Add-support-for-HTTP-DELETE-Action-for-RESTful-Scrip.patch
Description: Binary data


reply via email to

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