Toshiyuki Maezawa reported that when doing a POST with a read callback,

libcurl didn't properly send an Expect: 100-continue header. It does now.
This commit is contained in:
Daniel Stenberg 2005-04-18 17:14:58 +00:00
parent 6a27449922
commit c904b6b5bf
6 changed files with 46 additions and 34 deletions

View file

@ -40,6 +40,7 @@ Pragma: no-cache
Accept: */*
Content-Length: 45
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
this is what we post to the silly web server
</protocol>

View file

@ -40,6 +40,7 @@ Pragma: no-cache
Accept: */*
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
3
one

View file

@ -31,6 +31,7 @@ Pragma: no-cache
Accept: */*
Content-Length: 1
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
</protocol>
# 42 - aborted by callback

View file

@ -41,6 +41,7 @@ Pragma: no-cache
Accept: */*
Content-Length: 0
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
</protocol>
</verify>