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-1808474 ] HTTP_EXPECT is sent with file uploads

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 05 Oct 2007 23:57:21 -0700

Bugs item #1808474, was opened at 2007-10-06 06:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1808474&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: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: tibberous (tibberous)
Assigned to: Daniel Stenberg (bagder)
Summary: HTTP_EXPECT is sent with file uploads

Initial Comment:
I wrote a PHP script to upload files to a form. I kept getting the error code 417, Expectation Failed. I am guessing this is caused by the HTTP_EXPECT = 100-continue header that is being sent by curl.

Neither IE of Firefox send this header when doing form file uploads. While most servers do not care about it, this particular server won't work with it.

I tried to turn it off with curl_setopt, but it wouldn't let me, it includes it as soon as files are added to the post vars.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1808474&group_id=976
Received on 2007-10-06

These mail archives are generated by hypermail.

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

File upload with ASP.NET