mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:35:33 +03:00
cf-h1-proxy: support folded headers in CONNECT responses
Update test 1941 to verify this Remove unused code from dynhds for handling folded headers, and the associated unit tests of those functions in test 2602 and 2603. Closes #20080
This commit is contained in:
parent
cb9db70dbe
commit
7e064d0756
7 changed files with 143 additions and 154 deletions
|
|
@ -13,7 +13,8 @@ CONNECT
|
|||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test with trailing space%repeat[5 x ]%
|
||||
Content-Type: text/html
|
||||
Content-Type:
|
||||
%SPtext/html
|
||||
Content-Length: 0
|
||||
Set-Cookie: onecookie=data;
|
||||
Set-Cookie: secondcookie=2data;
|
||||
|
|
@ -23,7 +24,9 @@ Location: /%TESTNUMBER0002
|
|||
</data>
|
||||
<connect crlf="headers">
|
||||
HTTP/1.1 200 Sure go ahead
|
||||
Server: from the connect
|
||||
Server: from%SP
|
||||
%SPthe%TAB
|
||||
%TAB%TABconnect
|
||||
Silly-thing: yes yes
|
||||
|
||||
</connect>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue