[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Syntax for RESTful scripting options
From: |
Hrvoje Niksic |
Subject: |
Re: [Bug-wget] Syntax for RESTful scripting options |
Date: |
Sun, 10 Mar 2013 12:59:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
"Tony Lewis" <address@hidden> writes:
> Hrvoje Niksic wrote:
>
>> Another possibility would be to add some more syntax to --method so as to
>> allow --method=POST:file=foo, and also --method=PUT:data=abc....
>
> Since '=' is a valid (and frequent) delimiter for what follows "data="
> perhaps another pair of delimiters would be better. How about
> --method=POST,data:a=1&b=2 instead?
Yes, the use of `=' might cause some confusion. There are also other
possibilities to make the common case short:
--method=POST:<data...>
--method=POST,file:<filename...>
In other words, omit the ",data" part when data is used, and specify
",file" when file is used -- because it's used less often, and file
names are shorter than inline data.
- Re: [Bug-wget] Syntax for RESTful scripting options, (continued)
- 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/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 <=
Re: [Bug-wget] Syntax for RESTful scripting options, Ángel González, 2013/03/08