]> granicus.if.org Git - curl/commit
TE: do the Connection: header
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Apr 2011 14:30:14 +0000 (16:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Apr 2011 17:46:21 +0000 (19:46 +0200)
commit9d191a6a40c2e90153d4b60cbc78fa34837c07ee
tree08eb3cf20b9d37bbbb69ee95fad632bd5ea48a3d
parentbe973b6f91a2116a2c68c9d0d0e8a5f3fc6e23c6
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:.
lib/http.c
tests/data/Makefile.am
tests/data/test1122
tests/data/test1123
tests/data/test1124
tests/data/test1125 [new file with mode: 0644]