|
From: | Giuseppe Scrivano |
Subject: | Re: [Bug-wget] post-data works but post-file does not? |
Date: | Wed, 22 Sep 2010 11:55:32 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
so we have: Charles Kozierok <address@hidden> writes: broken version: > POST /specifications.aspx HTTP/1.0 > Referer: http://tmslighting.digiflare.com/specifications.aspx > User-Agent: Wget/1.11.4 > Accept: */* > Host: tmslighting.digiflare.com > Connection: Keep-Alive > Content-Type: application/x-www-form-urlencoded > Content-Length: 911 working version: > POST /specifications.aspx HTTP/1.0 > User-Agent: Wget/1.11.4 > Accept: */* > Host: tmslighting.digiflare.com > Connection: Keep-Alive > Content-Type: application/x-www-form-urlencoded > Content-Length: 909 I think the file/broken version has a final "\r\n" (end-of-line under Windows) that the --post-data versione hasn't. In fact, you can see the Content-Length difference is 2. Giuseppe
[Prev in Thread] | Current Thread | [Next in Thread] |