HTTP HTTP GET followlocation --max-redirs # Server-side HTTP/1.1 301 This is a weirdo text message swsclose Server: test-server/fake Location: data/reply/25 Content-Length: 0 Connection: close # Client-side http HTTP Location: following with --max-redirs 0 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L --max-redirs 0 # Verify data after the test has been "shot" GET /want/%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* 47