Skip to content

Commit

Permalink
[bugfix] Added 520 status as failed response
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav WEB committed Jul 3, 2018
1 parent 750fda9 commit a728d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/http/providers/response.py
Expand Up @@ -27,7 +27,7 @@ class ResponseProvider(object):
HTTP_DBG_LEVEL = 3
DEFAULT_HTTP_SUCCESS_STATUSES = [100, 101, 200, 201, 202, 203, 204, 205, 206, 207, 208]
DEFAULT_HTTP_REDIRECT_STATUSES = [300, 301, 302, 303, 304, 307, 308]
DEFAULT_HTTP_FAILED_STATUSES = [404, 406, 410, 412, 424, 429, 440, 500, 501, 502, 503, 504, 522]
DEFAULT_HTTP_FAILED_STATUSES = [404, 406, 410, 412, 424, 429, 440, 500, 501, 502, 503, 504, 520, 522]
DEFAULT_SSL_CERT_REQUIRED_STATUSES = [423, 496]
DEFAULT_HTTP_FORBIDDEN_STATUSES = [403,405]
DEFAULT_HTTP_AUTH_STATUSES = [401]
Expand Down

0 comments on commit a728d2f

Please sign in to comment.