| 1 |
<info> |
| 2 |
<keywords> |
| 3 |
HTTP |
| 4 |
HTTP GET |
| 5 |
</keywords> |
| 6 |
</info> |
| 7 |
# Server-side |
| 8 |
<reply> |
| 9 |
<data> |
| 10 |
HTTP/1.1 200 Mooo swsclose |
| 11 |
Server: test-server/fake |
| 12 |
Connection: close |
| 13 |
|
| 14 |
*flopp* |
| 15 |
</data> |
| 16 |
</reply> |
| 17 |
|
| 18 |
# Client-side |
| 19 |
<client> |
| 20 |
<server> |
| 21 |
http |
| 22 |
</server> |
| 23 |
<name> |
| 24 |
specify more -o than URLs |
| 25 |
</name> |
| 26 |
<command> |
| 27 |
http://%HOSTIP:%HTTPPORT/want/26 -o - -o - |
| 28 |
</command> |
| 29 |
</client> |
| 30 |
|
| 31 |
# Verify data after the test has been "shot" |
| 32 |
<verify> |
| 33 |
<strip> |
| 34 |
^User-Agent: curl.* |
| 35 |
</strip> |
| 36 |
<protocol> |
| 37 |
GET /want/26 HTTP/1.1 |
| 38 |
User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled) |
| 39 |
Host: 127.0.0.1:%HTTPPORT |
| 40 |
Accept: */* |
| 41 |
|
| 42 |
</protocol> |
| 43 |
</verify> |