Commit cfd926f0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Define 103 status code

parent 72f52716
...@@ -36,6 +36,8 @@ StringRef get_reason_phrase(unsigned int status_code) { ...@@ -36,6 +36,8 @@ StringRef get_reason_phrase(unsigned int status_code) {
return StringRef::from_lit("Continue"); return StringRef::from_lit("Continue");
case 101: case 101:
return StringRef::from_lit("Switching Protocols"); return StringRef::from_lit("Switching Protocols");
case 103:
return StringRef::from_lit("Early Hints");
case 200: case 200:
return StringRef::from_lit("OK"); return StringRef::from_lit("OK");
case 201: case 201:
...@@ -140,6 +142,8 @@ StringRef stringify_status(BlockAllocator &balloc, unsigned int status_code) { ...@@ -140,6 +142,8 @@ StringRef stringify_status(BlockAllocator &balloc, unsigned int status_code) {
return StringRef::from_lit("100"); return StringRef::from_lit("100");
case 101: case 101:
return StringRef::from_lit("101"); return StringRef::from_lit("101");
case 103:
return StringRef::from_lit("103");
case 200: case 200:
return StringRef::from_lit("200"); return StringRef::from_lit("200");
case 201: case 201:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment