iw7-mod/deps/curl/tests/data/test1183
2024-08-13 05:15:34 -04:00

49 lines
640 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
HTTP GET
</keywords>
</info>
# Server-side
<reply>
<data>
HTTP/1.1 200 OK
Server: Blafasel/5.0
Date: Sat, 16 Jan 2021 14:48:30 GMT
Content-Length: 12
Bla bla bla
</data>
</reply>
# Client-side
<client>
<server>
http
</server>
<features>
proxy
</features>
<name>
%TESTNUMBER used instead of actual test number
</name>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify that the %TESTNUMBER has been resolved to %TESTNUMBER
<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
</verify>
</testcase>