[ { "command": "curl -sS --max-time 5 --max-redirs 3 -w \nSTATUS:%{http_code} URL:%{url_effective} http://127.0.0.1:9380/old", "exit": 0, "stdout": "\nSTATUS:301 URL:http://127.0.0.1:9380/old", "stderr": "" }, { "command": "curl -sS --max-time 5 --max-redirs 3 -L -w \nSTATUS:%{http_code} URL:%{url_effective} http://127.0.0.1:9380/old", "exit": 0, "stdout": "TRAINING_DESTINATION_OK\n\nSTATUS:200 URL:http://127.0.0.1:9380/new", "stderr": "" }, { "command": "curl -sS --max-time 5 --max-redirs 3 -L -w \nSTATUS:%{http_code} URL:%{url_effective} http://127.0.0.1:9380/missing", "exit": 0, "stdout": "TRAINING_NOT_FOUND\n\nSTATUS:404 URL:http://127.0.0.1:9380/gone", "stderr": "" }, { "command": "curl -sS --max-time 5 --max-redirs 3 -L -w \nSTATUS:%{http_code} URL:%{url_effective} http://127.0.0.1:9380/loop", "exit": 47, "stdout": "\nSTATUS:301 URL:http://127.0.0.1:9380/loop", "stderr": "curl: (47) Maximum (3) redirects followed\n" } ]