1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6--max-filesize 7</keywords> 8</info> 9 10# 11# Server-side 12<reply> 13<data nocheck="yes"> 14HTTP/1.1 301 OK 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Server: test-server/fake 17Location: %TESTNUMBER0002 18Accept-Ranges: bytes 19Content-Length: 26 20Funny-head: yesyes 21 22aaaaaaaaaaaaaaaaaaaa-foo- 23</data> 24 25<data2 nocheck="yes"> 26HTTP/1.1 200 OK 27Date: Tue, 09 Nov 2010 14:49:00 GMT 28Server: test-server/fake 29Accept-Ranges: bytes 30Content-Length: 4 31Funny-head: yesyes 32 33hej 34</data2> 35</reply> 36 37# 38# Client-side 39<client> 40<server> 41http 42</server> 43<name> 44HTTP GET with maximum filesize with a redirect sending data 45</name> 46<command> 47http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 5 -L 48</command> 49</client> 50 51# 52# Verify data after the test has been "shot" 53<verify> 54<protocol> 55GET /%TESTNUMBER HTTP/1.1 56Host: %HOSTIP:%HTTPPORT 57User-Agent: curl/%VERSION 58Accept: */* 59 60GET /%TESTNUMBER0002 HTTP/1.1 61Host: %HOSTIP:%HTTPPORT 62User-Agent: curl/%VERSION 63Accept: */* 64 65</protocol> 66</verify> 67</testcase> 68