mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:23:32 +03:00
convert test case 540 to use a custom Host: header as well
This commit is contained in:
parent
1da3192d2d
commit
1da3d402f6
2 changed files with 26 additions and 9 deletions
|
|
@ -52,7 +52,7 @@ crypto
|
|||
HTTP proxy auth Digest multi API re-using connection
|
||||
</name>
|
||||
<command>
|
||||
http://test.remote.server.com/path/540 http://%HOSTIP:%HTTPPORT silly:person
|
||||
http://test.remote.server.com/path/540 http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -63,24 +63,24 @@ http://test.remote.server.com/path/540 http://%HOSTIP:%HTTPPORT silly:person
|
|||
</strip>
|
||||
<protocol>
|
||||
GET http://test.remote.server.com/path/540 HTTP/1.1
|
||||
Host: test.remote.server.com
|
||||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
Host: custom.set.host.name
|
||||
|
||||
GET http://test.remote.server.com/path/540 HTTP/1.1
|
||||
Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
|
||||
Host: test.remote.server.com
|
||||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
Host: custom.set.host.name
|
||||
|
||||
GET http://test.remote.server.com/path/540 HTTP/1.1
|
||||
Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
|
||||
Host: test.remote.server.com
|
||||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
Host: custom.set.host.name
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue