diff options
author | Luís Soares <lsoares@gmail.com> | 2022-09-08 10:12:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 10:12:46 +0100 |
commit | 20c02cdb77bd6c9827625a68c1a1af339c50b819 (patch) | |
tree | 299a91f9b3778977e694d5f49dacde202fc64e77 | |
parent | 3a0164423f7d2d0141c6fd17e97fbd4eaec54b34 (diff) | |
download | httpretty-20c02cdb77bd6c9827625a68c1a1af339c50b819.tar.gz |
add support for 421: "Misdirected Request"
-rw-r--r-- | httpretty/http.py | 1 | ||||
-rw-r--r-- | tests/unit/test_httpretty.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/httpretty/http.py b/httpretty/http.py index 87ceca9..0f75935 100644 --- a/httpretty/http.py +++ b/httpretty/http.py @@ -73,6 +73,7 @@ STATUSES = { 417: "Expectation Failed", 418: "I'm a teapot", 420: "Enhance Your Calm", + 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", diff --git a/tests/unit/test_httpretty.py b/tests/unit/test_httpretty.py index 017b290..89b2abf 100644 --- a/tests/unit/test_httpretty.py +++ b/tests/unit/test_httpretty.py @@ -117,6 +117,7 @@ def test_status_codes(): 417: "Expectation Failed", 418: "I'm a teapot", 420: "Enhance Your Calm", + 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", |