Added exit status for timed-out requests.

This commit is contained in:
Jakub Roztocil committed 2012-08-09 05:24:58 +02:00
1 parent 76feea2f68
commit c01dd8d64a
6 files changed
+52 -40

No files matched your search

+3 -1
View File
@@ -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