diff options
author | Loïc Hoguin <[email protected]> | 2019-09-06 11:12:25 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-09-06 11:12:25 +0200 |
commit | c3fc4c663f211b0c16555112a939666f479e440b (patch) | |
tree | 1d44ef863a73eb5f90580718dccad6444bd60d10 /src | |
parent | 533f3a8571f75394567198df8d599d4d88b159b0 (diff) | |
download | cowlib-c3fc4c663f211b0c16555112a939666f479e440b.tar.gz cowlib-c3fc4c663f211b0c16555112a939666f479e440b.tar.bz2 cowlib-c3fc4c663f211b0c16555112a939666f479e440b.zip |
Add status codes 208 and 508
Diffstat (limited to 'src')
-rw-r--r-- | src/cow_http.erl | 2 |
1 files changed, 2 insertions, 0 deletions
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. |