aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-10-02 00:22:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-10-02 00:22:48 +0200
commit2ae6c47d5dfdff2d6d884284beb6b0322e8ac671 (patch)
tree8a980d62bbbb839e1657ee234533b736969d4082 /tests
parent15622e69a995bb4bee04bc647d86d658860914be (diff)
HTTP: remove special case for 416
It was pointed out that the special case libcurl did for 416 was incorrect and wrong. 416 is not really different to other errors so the response body must be handled like for other errors/http responses. Reported by: Chris Smowton Bug: http://curl.haxx.se/bug/view.cgi?id=3076808
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test1943
-rw-r--r--tests/data/test923
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/data/test194 b/tests/data/test194
index 3ccc01ae5..582f197f7 100644
--- a/tests/data/test194
+++ b/tests/data/test194
@@ -17,11 +17,12 @@ Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.
Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT
ETag: "ab57a-507-3f9968f3"
Accept-Ranges: bytes
-Content-Length: 87
+Content-Length: 4
Content-Range: bytes */87
Content-Type: image/gif
Connection: close
+bad
</data>
</reply>
diff --git a/tests/data/test92 b/tests/data/test92
index 21635753b..726aa7919 100644
--- a/tests/data/test92
+++ b/tests/data/test92
@@ -17,10 +17,11 @@ Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.
Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT
ETag: "ab57a-507-3f9968f3"
Accept-Ranges: bytes
-Content-Length: 87
+Content-Length: 4
Content-Range: bytes */87
Content-Type: image/gif
+bad
</data>
</reply>