bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Send Content-Length with POST 0 length body


From: Matthew Atkinson
Subject: Re: [Bug-wget] Send Content-Length with POST 0 length body
Date: Tue, 21 Oct 2014 09:39:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 20/10/14 21:16, Tim Rühsen wrote:
 
> Since Wget does not explicitly support PUT, we may just care for the POST 
> request. Since servers may reject a POST without Content-Length, we are 
> better 
> off with supplying one. Since PUT (and also PATCH) request 'anticipate' a 
> body, 
> we could also care for these.
> 
> Matthew, could you also check for 'put and 'patch' request and send an 
> amended 
> version of the patch. FYI, HTTP PATCH request is rfc5789.

Attached

Attachment: 0001-Always-send-Content-Length-with-POST-PUT-PATCH.patch
Description: Text Data


reply via email to

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