mirror of
https://github.com/moparisthebest/curl
synced 2024-11-08 10:35:05 -05:00
c50a601f1a
HTTP server
35 lines
480 B
Plaintext
35 lines
480 B
Plaintext
# Server-side
|
|
<reply>
|
|
<data>
|
|
no headers swsclose
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
HTTP GET without headers in the response
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HOSTPORT/66
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<strip>
|
|
^User-Agent:.*
|
|
</strip>
|
|
<protocol>
|
|
GET /66 HTTP/1.1
|
|
Host: 127.0.0.1:8999
|
|
Pragma: no-cache
|
|
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
|
|
|
</protocol>
|
|
</verify>
|