cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: POST a large file over HTTPS to IIS-5 problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Jan 2003 11:26:49 +0100 (MET)

On Fri, 3 Jan 2003, Veselin Terzic wrote:

> I have a feeling that "curl" is not completely in accordance with HTTP RFC
> 2616 section 8.2.3.
> I do not see Expect [expectation = "100-continue"] header sent by
> "curl" before curl starts to dump data stream at the server.

That's correct. It only does this by default for multipart formposts.

> In my case IIS 5 server does send 100-continue header, but looks like curl
> has already started data stream.

Right.

> I think it would be a good idea to add 100-continue expectation to curl in
> case data stream is to follow HTTP headers.

Yes, and also since this practise is recommended by the RFC2616.

Please go ahead and make the changes and mail us a patch!

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-07