HTTP HTTP GET --max-filesize # # Server-side HTTP/1.1 301 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Location: %TESTNUMBER0002 Accept-Ranges: bytes Content-Length: 26 Funny-head: yesyes aaaaaaaaaaaaaaaaaaaa-foo- HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Accept-Ranges: bytes Content-Length: 4 Funny-head: yesyes hej # # Client-side http HTTP GET with maximum filesize with a redirect sending data http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 5 -L # # Verify data after the test has been "shot" GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* GET /%TESTNUMBER0002 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */*