diff options
author | Loïc Hoguin <[email protected]> | 2018-03-05 13:58:55 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-03-05 13:58:55 +0100 |
commit | fa0357ff752e1ce70191ceb6332e5d58b9f1f18e (patch) | |
tree | 0024db9ec7d880e33270599cdbe2820dc6cd4e02 /src/cow_http.erl | |
parent | 1786151ebfdfc89201fd1768c20326af129474cb (diff) | |
download | cowlib-fa0357ff752e1ce70191ceb6332e5d58b9f1f18e.tar.gz cowlib-fa0357ff752e1ce70191ceb6332e5d58b9f1f18e.tar.bz2 cowlib-fa0357ff752e1ce70191ceb6332e5d58b9f1f18e.zip |
Add the 308 Permanent Redirect status code
Diffstat (limited to 'src/cow_http.erl')
-rw-r--r-- | src/cow_http.erl | 1 |
1 files changed, 1 insertions, 0 deletions
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">>; |