master-server/deps/curl/tests/data/test1942

67 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2023-12-11 20:30:44 -05:00
<testcase>
<info>
<keywords>
curl_easy_header
CONNECT
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 100 continue
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: maybe different
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test with trailing space
Content-Type: text/html
Content-Length: 0
Set-Cookie: onecookie=data;
Set-Cookie: secondcookie=2data;
Set-Cookie: cookie3=data3;
Location: /%TESTNUMBER0002
</data>
</reply>
# Client-side
<client>
<features>
http
headers-api
</features>
<server>
http
</server>
<name>
curl_easy_header with 1xx response
</name>
<tool>
lib1940
</tool>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<stdout>
Date == Thu, 09 Nov 2010 14:49:00 GMT
Server == test with trailing space
Content-Type == text/html
Content-Length == 0
Location == /%TESTNUMBER0002
- Set-Cookie == onecookie=data; (0/3)
- Set-Cookie == secondcookie=2data; (1/3)
- Set-Cookie == cookie3=data3; (2/3)
Date == Thu, 09 Nov 2010 14:49:00 GMT
Server == maybe different
</stdout>
</verify>
</testcase>