Browse Source

Add the 308 Permanent Redirect status code

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

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