HTTP
HTTP GET
#
# Server-side
HTTP/1.1 301 OK
Accept-Ranges: bytes
Content-Length: 0
Connection: close
Location: /%TESTNUMBER0002
HTTP/1.1 429 too many requests
Retry-After: 1
Content-Length: 0
Connection: close
HTTP/1.1 301 OK
Accept-Ranges: bytes
Content-Length: 0
Connection: close
Location: /%TESTNUMBER0002
HTTP/1.1 429 too many requests
Retry-After: 1
Content-Length: 0
Connection: close
HTTP/1.1 301 OK
Accept-Ranges: bytes
Content-Length: 0
Connection: close
Location: /%TESTNUMBER0002
HTTP/1.1 429 too many requests
Retry-After: 1
Content-Length: 0
Connection: close
#
# Client-side
http
--retry with a 429 response and Retry-After:
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -d moo --retry 1 -L
#
# Verify data after the test has been "shot"
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Content-Length: 3
Content-Type: application/x-www-form-urlencoded
mooGET /%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Content-Length: 3
Content-Type: application/x-www-form-urlencoded
mooGET /%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*