mirror of
https://github.com/curl/curl.git
synced 2026-08-05 08:26:14 +03:00
parent
284d06df9e
commit
eac324f284
2 changed files with 15 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ http
|
|||
Replaced internal and added custom HTTP headers
|
||||
</name>
|
||||
<command>
|
||||
-H "extra-header: here" -H "Accept: replaced" -H "X-Custom-Header;" -H "X-Test: foo; " -H "X-Test:" -H "X-Test2: foo;" -H "X-Test3: " -H "X-Test4; " -H "X-Test5;ignored" http://%HOSTIP:%HTTPPORT/4
|
||||
-H "extra-header: here" -H "Accept: replaced" -H "X-Custom-Header;" -H "X-Test: foo; " -H "X-Test:" -H "X-Test2: foo;" -H "X-Test3: " -H "X-Test4; " -H "X-Test5;ignored" http://%HOSTIP:%HTTPPORT/4 http://%HOSTIP:%HTTPPORT/4
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -49,6 +49,14 @@ X-Custom-Header:
|
|||
X-Test: foo;
|
||||
X-Test2: foo;
|
||||
|
||||
GET /4 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
extra-header: here
|
||||
Accept: replaced
|
||||
X-Custom-Header:
|
||||
X-Test: foo;
|
||||
X-Test2: foo;
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue