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 <[email protected]> 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 <[email protected]> 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
0001-Add-support-for-HTTP-DELETE-Action-for-RESTful-Scrip.patch
Description: Binary data
