summaryrefslogtreecommitdiff
path: root/tests/data/test1123
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-04-11 16:30:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-04-18 19:46:21 +0200
commit9d191a6a40c2e90153d4b60cbc78fa34837c07ee (patch)
tree08eb3cf20b9d37bbbb69ee95fad632bd5ea48a3d /tests/data/test1123
parentbe973b6f91a2116a2c68c9d0d0e8a5f3fc6e23c6 (diff)
downloadcurl-9d191a6a40c2e90153d4b60cbc78fa34837c07ee.tar.gz
TE: do the Connection: header
When TE: is inserted in the request, we must add a "Connection: TE" as well to be HTTP 1.1 compliant. If a custom Connection: header is passed in, we must use that and only append TE to it. Test case 1125 verifies TE: + custom Connection:.
Diffstat (limited to 'tests/data/test1123')
-rw-r--r--tests/data/test11231
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/data/test1123 b/tests/data/test1123
index c51fa9608..cfd843dae 100644
--- a/tests/data/test1123
+++ b/tests/data/test1123
@@ -192,6 +192,7 @@ http://%HOSTIP:%HTTPPORT/1123 -H "TE: deflate, gzip"
GET /1123 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
+Connection: TE
TE: deflate, gzip
</protocol>