mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Added exit status for timed-out requests.
This commit is contained in:
1 parent
76feea2f68
commit
c01dd8d64a
6 files changed
+52
-40
No files matched your search
+3
-1
@@ -10,7 +10,9 @@ __licence__ = 'BSD'
|
||||
class EXIT:
|
||||
OK = 0
|
||||
ERROR = 1
|
||||
# Used only when requested:
|
||||
ERROR_TIMEOUT = 2
|
||||
|
||||
# Used only when requested with --check-status:
|
||||
ERROR_HTTP_3XX = 3
|
||||
ERROR_HTTP_4XX = 4
|
||||
ERROR_HTTP_5XX = 5
|
||||
Reference in new issue
Block a user