From c3fc4c663f211b0c16555112a939666f479e440b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 6 Sep 2019 11:12:25 +0200 Subject: Add status codes 208 and 508 --- src/cow_http.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cow_http.erl b/src/cow_http.erl index 5701b02..bfaace3 100644 --- a/src/cow_http.erl +++ b/src/cow_http.erl @@ -372,6 +372,7 @@ status(204) -> <<"204 No Content">>; status(205) -> <<"205 Reset Content">>; status(206) -> <<"206 Partial Content">>; status(207) -> <<"207 Multi-Status">>; +status(208) -> <<"208 Already Reported">>; status(226) -> <<"226 IM Used">>; status(300) -> <<"300 Multiple Choices">>; status(301) -> <<"301 Moved Permanently">>; @@ -419,6 +420,7 @@ status(504) -> <<"504 Gateway Timeout">>; status(505) -> <<"505 HTTP Version Not Supported">>; status(506) -> <<"506 Variant Also Negotiates">>; status(507) -> <<"507 Insufficient Storage">>; +status(508) -> <<"508 Loop Detected">>; status(510) -> <<"510 Not Extended">>; status(511) -> <<"511 Network Authentication Required">>; status(B) when is_binary(B) -> B. -- cgit v1.2.3