diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-09-05 17:58:53 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-09-05 17:58:53 +0000 |
commit | 91ff93803512e3438ce165b23bb5b9fb404df288 (patch) | |
tree | 0fbc0009c6237d62fa4a4033ad69038a639522c3 /tests/data/test1053 | |
parent | 3acd1146f992a2b8c5da22a425c1380673c5bdef (diff) |
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/test1053')
-rw-r--r-- | tests/data/test1053 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/data/test1053 b/tests/data/test1053 index dbc63e808..8c60e5ce3 100644 --- a/tests/data/test1053 +++ b/tests/data/test1053 @@ -12,7 +12,7 @@ followlocation # Server-side <reply> <data> -HTTP/1.0 307 Redirect swsclose
+HTTP/1.1 307 Redirect swsclose
Date: Thu, 29 Jul 2008 14:49:00 GMT
Server: test-server/fake
Location: data/10530002.txt?coolsite=yes
@@ -21,24 +21,28 @@ Connection: close </data> <data2> -HTTP/1.0 200 OK swsclose
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
+Content-Length: 11
+Connection: close
blablabla </data2> <datacheck> -HTTP/1.0 307 Redirect swsclose
+HTTP/1.1 307 Redirect swsclose
Date: Thu, 29 Jul 2008 14:49:00 GMT
Server: test-server/fake
Location: data/10530002.txt?coolsite=yes
Content-Length: 0
Connection: close
-HTTP/1.0 200 OK swsclose
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
+Content-Length: 11
+Connection: close
blablabla |