Files
nostr_core_lib/curl-8.15.0/tests/data/test696
2025-08-16 11:22:44 -04:00

71 lines
952 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
HTTP GET
</keywords>
</info>
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK swsclose
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
Content-Length: 6
Connection: close
-foo-
</data>
</reply>
#
# Client-side
<client>
<server>
http
</server>
<tool>
lib556
</tool>
<name>
CONNECT_ONLY and doing a second curl_easy_perform
</name>
<command>
http://%HOSTIP:%HTTPPORT
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stdout>
HTTP/1.1 200 OK swsclose
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
Content-Length: 6
Connection: close
-foo-
HTTP/1.1 200 OK swsclose
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
Content-Length: 6
Connection: close
-foo-
</stdout>
<protocol>
GET /556 HTTP/1.1
Host: ninja
GET /556 HTTP/1.1
Host: ninja
</protocol>
<errorcode>
0
</errorcode>
</verify>
</testcase>