HTTP: don't send Content-Length: 0 _and_ Expect: 100-continue
authorDaniel Stenberg <daniel@haxx.se>
Fri, 4 Apr 2014 12:50:18 +0000 (14:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Apr 2014 13:46:35 +0000 (15:46 +0200)
commit42937f87e65554ec4b887a5bd0b34abdbf2e0977
tree30f1ac7aa9b7aac7c1cced638570637f5939223b
parentc81021f74796a391be739665fec64431a66325c4
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
lib/http.c
tests/data/Makefile.am
tests/data/test1001
tests/data/test1002
tests/data/test1411 [new file with mode: 0644]
tests/data/test155
tests/data/test88