mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
0cb12d7e78
HTTP server
33 lines
463 B
Plaintext
33 lines
463 B
Plaintext
# Server-side
|
|
<reply>
|
|
<data>
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<name>
|
|
HTTP with no data in server reply
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HOSTPORT/want/30
|
|
</command>
|
|
</test>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<strip>
|
|
^User-Agent:.*
|
|
</strip>
|
|
<protocol>
|
|
GET /want/30 HTTP/1.1
|
|
Host: 127.0.0.1:8999
|
|
Pragma: no-cache
|
|
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
|
|
|
</protocol>
|
|
<errorcode>
|
|
52
|
|
</errorcode>
|
|
</verify>
|