aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-28 23:12:13 +0100
committerLoïc Hoguin <[email protected]>2017-11-28 23:12:13 +0100
commit824d807225f9b6f692be365635e1792c20cf9ad0 (patch)
tree98730d6cac165c15c49230b7921f10b78fab72d1
parent4cd81db0b11ba0305bab9cc98dfe2264cf88b362 (diff)
downloadcowlib-824d807225f9b6f692be365635e1792c20cf9ad0.tar.gz
cowlib-824d807225f9b6f692be365635e1792c20cf9ad0.tar.bz2
cowlib-824d807225f9b6f692be365635e1792c20cf9ad0.zip
Add the 421 status code from HTTP/2
-rw-r--r--src/cow_http.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cow_http.erl b/src/cow_http.erl
index 85b5d7a..52caa19 100644
--- a/src/cow_http.erl
+++ b/src/cow_http.erl
@@ -317,6 +317,7 @@ status(415) -> <<"415 Unsupported Media Type">>;
status(416) -> <<"416 Requested Range Not Satisfiable">>;
status(417) -> <<"417 Expectation Failed">>;
status(418) -> <<"418 I'm a teapot">>;
+status(421) -> <<"421 Misdirected Request">>;
status(422) -> <<"422 Unprocessable Entity">>;
status(423) -> <<"423 Locked">>;
status(424) -> <<"424 Failed Dependency">>;