1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 17:18:48 -05:00
curl/tests/data/test1183

49 lines
643 B
Plaintext
Raw Normal View History

<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>