diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-04-11 16:30:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-04-18 19:46:21 +0200 |
commit | 9d191a6a40c2e90153d4b60cbc78fa34837c07ee (patch) | |
tree | 08eb3cf20b9d37bbbb69ee95fad632bd5ea48a3d /tests/data/test1124 | |
parent | be973b6f91a2116a2c68c9d0d0e8a5f3fc6e23c6 (diff) | |
download | curl-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/test1124')
-rw-r--r-- | tests/data/test1124 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/data/test1124 b/tests/data/test1124 index 6914756de..d8b4f9ae7 100644 --- a/tests/data/test1124 +++ b/tests/data/test1124 @@ -61,6 +61,7 @@ http://%HOSTIP:%HTTPPORT/1124 -H "TE: gzip" GET /1124 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
+Connection: TE
TE: gzip
</protocol> |