1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6--max-filesize 7FAILURE 8</keywords> 9</info> 10 11# 12# Server-side 13<reply> 14<data nocheck="yes"> 15HTTP/1.1 200 OK swsclose 16Date: Tue, 09 Nov 2010 14:49:00 GMT 17Server: test-server/fake 18Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 19ETag: "21025-dc7-39462498" 20Accept-Ranges: bytes 21%if hyper 22Content-Length: 3689348814741910323 23%else 24Content-Length: 36893488147419103232 25%endif 26Connection: close 27Content-Type: text/html 28Funny-head: yesyes 29 30-foo- 31</data> 32</reply> 33 34# 35# Client-side 36<client> 37<server> 38http 39</server> 40<name> 41HTTP max-filesize and out-of-range Content-Length 42</name> 43<command> 44http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2000000 45</command> 46</client> 47 48# 49# Verify data after the test has been "shot" 50<verify> 51<errorcode> 5263 53</errorcode> 54<protocol> 55GET /%TESTNUMBER HTTP/1.1 56Host: %HOSTIP:%HTTPPORT 57User-Agent: curl/%VERSION 58Accept: */* 59 60</protocol> 61</verify> 62</testcase> 63