bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Request body in GET requests


From: Hrvoje Niksic
Subject: Re: [Bug-wget] Request body in GET requests
Date: Tue, 30 Jun 2009 21:12:24 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Micah Cowan <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]