HTTP HTTP PUT # Server-side HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Accept-Ranges: bytes Content-Length: 6 Connection: close Content-Type: text/html -foo- HTTP/1.1 200 the second one Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Accept-Ranges: bytes Content-Length: 6 Connection: close Content-Type: text/html again # Client-side http load URLs from a file, upload with a glob -T '%LOGDIR/upload{1,2}' --url @%LOGDIR/urls --silent --output=%LOGDIR/first-out --output=%LOGDIR/second-out first! second http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002 # Verify data after the test has been "shot" PUT /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* Content-Length: 7 first! PUT /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* Content-Length: 7 second GET /%TESTNUMBER0002 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* %EMPTY