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/274 -L --max-redirs 0
# Verify data after the test has been "shot"
GET /want/274 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
47