Micah Cowan <[email protected]> writes:

> Hrvoje Niksic wrote:
>> A friend pointed out that Wget doesn't allow adding a request body to
>> GET requests, since both --post-data and --post-file automatically
>> switch to POST.  It would be nice to support the equivalent of curl's
>> --request option, which specifies a custom request method for HTTP.
>
> Personally, I'm not particularly keen on implementing or maintaining
> such a thing. I don't really see it as falling under Wget's general
> scope, which as I see it is to non-interactively fetch content that a
> user might consider as "web content", in a matter comparable to that
> used by typical interactive clients (mainly web browsers and ftp
> clients).

I am told that interactive clients issue GET requests with request
bodies when doing AJAX.  If that is indeed the case, supporting it in
Wget might be genuinely useful.


Reply via email to