mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:43:32 +03:00
HTTP: don't send Content-Length: 0 _and_ Expect: 100-continue
Without request body there's no point in asking for 100-continue. Bug: http://curl.haxx.se/bug/view.cgi?id=1349 Reported-by: JimS
This commit is contained in:
parent
c81021f747
commit
42937f87e6
7 changed files with 66 additions and 8 deletions
|
|
@ -89,7 +89,6 @@ Host: %HOSTIP:%HTTPPORT
|
|||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
Content-Length: 0
|
||||
Expect: 100-continue
|
||||
|
||||
GET http://%HOSTIP:%HTTPPORT/1002.upload1 HTTP/1.1
|
||||
Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1002.upload1", response="198aa9b6acb4b0c71d02a197a5e41f54"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue