aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Madsen <[email protected]>2018-05-06 17:13:47 -0600
committerLoïc Hoguin <[email protected]>2018-05-07 10:41:13 +0200
commitd94f5bdb32b9be3eb9bc7ad1467e9aff2b9e20e4 (patch)
tree05b7305d97251118e05cdee88972c36b0dd4481f
parent6218e3295e93bee9bc09fbf6b718ac00f5252128 (diff)
downloadcowlib-d94f5bdb32b9be3eb9bc7ad1467e9aff2b9e20e4.tar.gz
cowlib-d94f5bdb32b9be3eb9bc7ad1467e9aff2b9e20e4.tar.bz2
cowlib-d94f5bdb32b9be3eb9bc7ad1467e9aff2b9e20e4.zip
Add 103 early hints as a valid status
-rw-r--r--src/cow_http.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cow_http.erl b/src/cow_http.erl
index f89e518..74766e2 100644
--- a/src/cow_http.erl
+++ b/src/cow_http.erl
@@ -297,6 +297,7 @@ version_test() ->
status(100) -> <<"100 Continue">>;
status(101) -> <<"101 Switching Protocols">>;
status(102) -> <<"102 Processing">>;
+status(103) -> <<"103 Early Hints">>;
status(200) -> <<"200 OK">>;
status(201) -> <<"201 Created">>;
status(202) -> <<"202 Accepted">>;