cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2928344 ] --proxy-ntlm breaks POST (-d and -F) Content-Length

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 08 Jan 2010 16:04:07 +0000

Bugs item #2928344, was opened at 2010-01-08 16:04
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2928344&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: --proxy-ntlm breaks POST (-d and -F) Content-Length

Initial Comment:
If you do a POST request with -d or -F and you are going via a proxy using NTLM authentication then the content length of your form data is set to 0 and the arguments are lost. Turning off NTLM authentication solves the problem.

Example command line:
curl -v --proxy-ntlm --proxy proxyserver:proxyport --proxy-user : -d "fname=a&lname=b" http://www.snee.com/xml/crud/post

This will give a Content-Length: 0 error
curl 7.19.5 (i586-pc-mingw32msvc) libcurl/7.19.5 OpenSSL/0.9.81 zlib/1.2.3
Features: Largefile NTLM SSL SSPI libz

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2928344&group_id=976
Received on 2010-01-08

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET