From 824d807225f9b6f692be365635e1792c20cf9ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 28 Nov 2017 23:12:13 +0100 Subject: Add the 421 status code from HTTP/2 --- src/cow_http.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cow_http.erl') 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">>; -- cgit v1.2.3