From fa0357ff752e1ce70191ceb6332e5d58b9f1f18e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 5 Mar 2018 13:58:55 +0100 Subject: Add the 308 Permanent Redirect status code --- src/cow_http.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/cow_http.erl b/src/cow_http.erl index 52caa19..e79896b 100644 --- a/src/cow_http.erl +++ b/src/cow_http.erl @@ -298,6 +298,7 @@ status(304) -> <<"304 Not Modified">>; status(305) -> <<"305 Use Proxy">>; status(306) -> <<"306 Switch Proxy">>; status(307) -> <<"307 Temporary Redirect">>; +status(308) -> <<"308 Permanent Redirect">>; status(400) -> <<"400 Bad Request">>; status(401) -> <<"401 Unauthorized">>; status(402) -> <<"402 Payment Required">>; -- cgit v1.2.3