diff options
author | Gabriel Falcão <gabrielfalcao@users.noreply.github.com> | 2022-10-10 23:39:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 23:39:15 -0400 |
commit | 58b6494e84e20f5ac3271dc421daeb7f581ba368 (patch) | |
tree | 34e7135f4117f871f9888ca569e60219ea1f61dc | |
parent | 7804c533ec344eeefaacef5340fe479858f7154b (diff) | |
parent | 20c02cdb77bd6c9827625a68c1a1af339c50b819 (diff) | |
download | httpretty-58b6494e84e20f5ac3271dc421daeb7f581ba368.tar.gz |
Merge pull request #458 from lsoares/patch-1
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", |