HTTP
HTTP GET
RETRY-AFTER
#
# Server-side
HTTP/1.1 429 too many requests swsbounce
Retry-After: 1
Content-Length: 4
moo
HTTP/1.1 200 OK
Content-Length: 4
Connection: close
hey
#
# Client-side
http
--retry with a 429 response and Retry-After: and --fail-with-body
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 1 --fail-with-body
#
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
moo
hey