1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP POST 6</keywords> 7</info> 8# 9# Server-side 10<reply> 11<data> 12HTTP/1.0 200 OK 13Server: test-server/fake 14Content-Type: text/html 15Content-Length: 0 16 17this is data even though Content-Length is set to zero 18</data> 19<datacheck> 20HTTP/1.0 200 OK 21Server: test-server/fake 22Content-Type: text/html 23Content-Length: 0 24 25</datacheck> 26</reply> 27 28# 29# Client-side 30<client> 31<server> 32http 33</server> 34 <name> 35HTTP POST a non-existing file 36 </name> 37 <command> 38 -d @nonesuchfile http://%HOSTIP:%HTTPPORT/268 39</command> 40</client> 41 42# 43# Verify data after the test has been "shot" 44<verify> 45<strip> 46^User-Agent:.* 47</strip> 48<protocol> 49POST /268 HTTP/1.1 50Host: %HOSTIP:%HTTPPORT 51Accept: */* 52Content-Length: 0 53Content-Type: application/x-www-form-urlencoded 54 55</protocol> 56</verify> 57</testcase> 58