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:.
This commit is contained in:
Daniel Stenberg
2011-04-11 16:30:14 +02:00
parent be973b6f91
commit 9d191a6a40
6 changed files with 90 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \
test1303 test320 test321 test322 test323 test324 test1121 test581 test580 \
test1304 test1305 test1306 test1307 test582 test583 test808 test809 \
test810 test811 test812 test813 test584 test1122 test1123 test1124
test810 test811 test812 test813 test584 test1122 test1123 test1124 test1125
filecheck:
@mkdir test-place; \