[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Syntax for RESTful scripting options
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] Syntax for RESTful scripting options |
Date: |
Sun, 14 Apr 2013 13:16:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Thanks!
Darshit Shah <address@hidden> writes:
> There we go.
> Attaching the next iteration of the patch to add more REStful scripting
> options.
>
> Changes included are:
> * Accept an option during invocation, called --method=MethodString. The
> MethodString will be converted to Uppercase and sent as the Method.
> * The old --post-data and --post-file commands have been turned into aliases.
> Internally they set --method=POST and --body-data or --body-file as
> applicable.
> * Added sanity checks to ensure that wget is not invoked with both,
> --body-data and -body-file or that it is not invoked with either of them but
> without a --method.
> * Added sanity check to ensure that wget is not invoked with method and
> --post-file or --post-data
> * Added missing sanity check to ensure that wget is not invoked with both
> --post-file and --post-data
> * Documentation for new commands.
>
> The major difference between this and the last submission is the removal of
> redundant code between body-data and post-data.
>
I have amended some trivial changes (i.e. too long commit message line
and some formatting) and pushed it.
--
Giuseppe