[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: |
Mon, 11 Mar 2013 18:46:11 +0530 |
Reusing post-data and post-file is not intuitive enough when we support
more options through --method.
Say, someone wished to use --method=PUT. In that case using --post-data or
--post-file is counter intuitive. Hence the need to unify them all under
one heading.
On Mon, Mar 11, 2013 at 6:46 PM, Giuseppe Scrivano <address@hidden>wrote:
> Darshit Shah <address@hidden> writes:
>
> > please don't add these. I don't think we would like to add a new
> > pair
> > of --FOO-data, --FOO-file for any method we will implement. As
> > already
> > suggested by Hrvoje, just add --body-data and --body-file that are
> > synonyms for --post-data and --post-file; we can't drop these for
> > backward compatibility.
> >
> > No. I won't. As suggested by Hrvoje, I plan on implementing as:
> > --method=POST:<data...>
> > --method=POST,file:<filename...>
>
> what is the advantage over reusing --post-data and --post-file?
>
> Giuseppe
>
--
Thanking You,
Darshit Shah
Research Lead, Code Innovation
Kill Code Phobia.
B.E.(Hons.) Mechanical Engineering, '14. BITS-Pilani
- Re: [Bug-wget] Syntax for RESTful scripting options, Steven M. Schweda, 2013/03/06
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/07
- Re: [Bug-wget] Syntax for RESTful scripting options, Tim Ruehsen, 2013/03/07
- Re: [Bug-wget] Syntax for RESTful scripting options, Hrvoje Niksic, 2013/03/07
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/08
- Re: [Bug-wget] Syntax for RESTful scripting options, Ángel González, 2013/03/08
- Re: [Bug-wget] Syntax for RESTful scripting options, Tim Rühsen, 2013/03/09
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/10
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options,
Darshit Shah <=
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/15
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/16
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/17
- Re: [Bug-wget] Syntax for RESTful scripting options, Hrvoje Niksic, 2013/03/09
- Re: [Bug-wget] Syntax for RESTful scripting options, Tony Lewis, 2013/03/09
- Re: [Bug-wget] Syntax for RESTful scripting options, Hrvoje Niksic, 2013/03/10