Browse Source

Add the 421 status code from HTTP/2

Loïc Hoguin 7 years ago
parent
commit
824d807225
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/cow_http.erl

+ 1 - 0
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">>;