mirror of
https://github.com/curl/curl.git
synced 2026-07-27 15:09:42 +03:00
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:
parent
be973b6f91
commit
9d191a6a40
6 changed files with 90 additions and 5 deletions
|
|
@ -62,6 +62,7 @@ http://%HOSTIP:%HTTPPORT/1122 -H "TE: gzip"
|
|||
GET /1122 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
Connection: TE
|
||||
TE: gzip
|
||||
|
||||
</protocol>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue