1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP POST 6 </keywords> 7 </info> 8 # 9 # Server-side 10 <reply name="1"> 11 <data> 12 HTTP/1.1 200 OK 13 Date: Thu, 09 Nov 2010 14:49:00 GMT 14 Server: test-server/fake 15 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 16 ETag: "21025-dc7-39462498" 17 Accept-Ranges: bytes 18 Content-Length: 6 19 Connection: close 20 Content-Type: text/html 21 Funny-head: yesyes 22 23 -foo- 24 </data> 25 </reply> 26 27 # Client-side 28 <client> 29 <server> 30 http 31 </server> 32 # tool is what to use instead of 'curl' 33 <tool> 34 lib578 35 </tool> 36 37 <name> 38 HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback 39 </name> 40 <command> 41 http://%HOSTIP:%HTTPPORT/500 log/ip578 42 </command> 43 </client> 44 45 # 46 # Verify data after the test has been "shot" 47 <verify> 48 <file name="log/ip578"> 49 PASSED, UL data matched data size 50 </file> 51 </verify> 52 </testcase> 53