From: Kenneth Reitz Date: Tue, 16 Apr 2013 02:47:20 +0000 (-0400) Subject: support for draft-tbray-http-legally-restricted-status-02 X-Git-Tag: v1.2.1~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d13bf9f11337e90ca2d2f86667982d2876a9088f;p=services%2Fpython-requests.git support for draft-tbray-http-legally-restricted-status-02 http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-stat us/?include_text=1 --- diff --git a/requests/status_codes.py b/requests/status_codes.py index 08edab4..de38486 100644 --- a/requests/status_codes.py +++ b/requests/status_codes.py @@ -62,6 +62,7 @@ _codes = { 444: ('no_response', 'none'), 449: ('retry_with', 'retry'), 450: ('blocked_by_windows_parental_controls', 'parental_controls'), + 451: ('unavailable_for_legal_reasons', 'legal_reasons'), 499: ('client_closed_request',), # Server Error.