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: Sun, 24 Jan 2010 02:20:11 +0000

Bugs item #2928344, was opened at 2010-01-08 16:04
Message generated for change (Comment added) made by sf-robot
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: http
Group: wrong behaviour
>Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nick Fortescue (fortescuen)
Assigned to: Daniel Stenberg (bagder)
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

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

>Comment By: SourceForge Robot (sf-robot)
Date: 2010-01-24 02:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Daniel Stenberg (bagder)
Date: 2010-01-08 22:30

Message:
This isn't actually a bug and since this is now discussed on the curl-users
mailing list I'm setting this entry to pending, waiting for some possible
different outcome on the list.

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET