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<protocol> 46POST /268 HTTP/1.1 47Host: %HOSTIP:%HTTPPORT 48User-Agent: curl/%VERSION 49Accept: */* 50Content-Length: 0 51Content-Type: application/x-www-form-urlencoded 52 53</protocol> 54</verify> 55</testcase> 56