summaryrefslogtreecommitdiff
path: root/tests/data/test1072
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-09-05 17:58:53 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-09-05 17:58:53 +0000
commit91ff93803512e3438ce165b23bb5b9fb404df288 (patch)
tree0fbc0009c6237d62fa4a4033ad69038a639522c3 /tests/data/test1072
parent3acd1146f992a2b8c5da22a425c1380673c5bdef (diff)
downloadcurl-91ff93803512e3438ce165b23bb5b9fb404df288.tar.gz
Improved the logic the decides whether to use HTTP 1.1 features or not in a
request. Detect cases where an upload must be sent chunked and the server supports only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
Diffstat (limited to 'tests/data/test1072')
-rw-r--r--tests/data/test10724
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test1072 b/tests/data/test1072
index 9a04224f4..14b6d804c 100644
--- a/tests/data/test1072
+++ b/tests/data/test1072
@@ -22,10 +22,9 @@ WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
Content-Type: text/plain
-Content-Length: 35
+Content-Length: 0
Connection: close
-Try again on this HTTP 1.0 server!
</data>
</reply>
@@ -71,6 +70,7 @@ This is data we upload with PUT
it comes from stdin so MUST be sent
with chunked encoding
which is impossible in HTTP/1.0
+
0
</protocol>