eBookReaderSwitch/thirdparty/curl/tests/data/test30

44 lines
504 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
HTTP GET
FAILURE
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<server>
http
</server>
<name>
HTTP with no data in server reply
</name>
<command>
http://%HOSTIP:%HTTPPORT/want/30
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET /want/30 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>
<errorcode>
52
</errorcode>
</verify>
</testcase>