Darshit Shah <[email protected]> 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
