|
From: | Giuseppe Scrivano |
Subject: | Re: [Bug-wget] Syntax for RESTful scripting options |
Date: | Wed, 06 Mar 2013 22:28:26 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Darshit Shah <address@hidden> writes: > Taking this forward. I figured it would be best to merge --post-data and > --post-file commands into --method=HTTPMethod > > I intend to use the following logic in merging them: > > wget --method=POST [data/file] URL If a method (like OPTIONS) includes an entity-body then the data can be still passed trough --post-data or --post-file. I don't really like the idea of an argument that can have different meanings according to its content, in this case presence or not of ':'. What would be the advantage of dropping them? -- Giuseppe
[Prev in Thread] | Current Thread | [Next in Thread] |