mirror of
https://github.com/curl/curl.git
synced 2026-08-05 10:16:14 +03:00
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:
parent
6a27449922
commit
c904b6b5bf
6 changed files with 46 additions and 34 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ Pragma: no-cache
|
|||
Accept: */*
|
||||
Transfer-Encoding: chunked
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Expect: 100-continue
|
||||
|
||||
3
|
||||
one
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ Pragma: no-cache
|
|||
Accept: */*
|
||||
Content-Length: 0
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Expect: 100-continue
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue