1<testcase> 2<info> 3<keywords> 4--dump-header 5</keywords> 6</info> 7# 8# Server-side 9<reply> 10<data nocheck="yes" crlf="yes"> 11HTTP/1.1 200 OK 12Date: Tue, 09 Nov 2010 14:49:00 GMT 13Server: test-server/fake 14Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 15ETag: "21025-dc7-39462498" 16Accept-Ranges: bytes 17Content-Length: 6 18Connection: close 19Content-Type: text/html 20Funny-head: yesyes 21 22-foo- 23</data> 24</reply> 25 26# 27# Client-side 28<client> 29<server> 30http 31</server> 32<features> 33http 34</features> 35<name> 36--output-dir with --create-dirs 37</name> 38<command> 39http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER --dump-header %PWD/%LOGDIR/tmp/out.txt --create-dirs 40</command> 41</client> 42 43# 44# Verify data after the test has been "shot" 45<verify> 46<protocol> 47GET /this/is/the/%TESTNUMBER HTTP/1.1 48Host: %HOSTIP:%HTTPPORT 49User-Agent: curl/%VERSION 50Accept: */* 51 52</protocol> 53<file name="%LOGDIR/tmp/out.txt" crlf="yes"> 54HTTP/1.1 200 OK 55Date: Tue, 09 Nov 2010 14:49:00 GMT 56Server: test-server/fake 57Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 58ETag: "21025-dc7-39462498" 59Accept-Ranges: bytes 60Content-Length: 6 61Connection: close 62Content-Type: text/html 63Funny-head: yesyes 64 65</file> 66</verify> 67</testcase> 68