1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Added --show-redirects and --max-redirects

Closes #157, #183, #188, #246
This commit is contained in:
Jakub Roztocil
2016-02-29 13:56:21 +08:00
parent c6d4f6cdf6
commit 356e043651
7 changed files with 76 additions and 18 deletions

View File

@@ -12,6 +12,7 @@ class ExitStatus:
OK = 0
ERROR = 1
ERROR_TIMEOUT = 2
ERROR_TOO_MANY_REDIRECTS = 6
# Used only when requested with --check-status:
ERROR_HTTP_3XX = 3