Browse Source

Add 103 early hints as a valid status

Mark Madsen 7 years ago
parent
commit
d94f5bdb32
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/cow_http.erl

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