From: Amos Jeffries Date: Thu, 15 Dec 2016 09:22:10 +0000 (+1300) Subject: HTTP/1.1: Add registered codes entry for new 103 (Early Hints) status code X-Git-Tag: SQUID_3_5_23~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=028ea244e429ae000a21f693548cd918065e95c7;p=thirdparty%2Fsquid.git HTTP/1.1: Add registered codes entry for new 103 (Early Hints) status code --- diff --git a/src/http/StatusCode.cc b/src/http/StatusCode.cc index 75bf1c4c41..12e7be10fc 100644 --- a/src/http/StatusCode.cc +++ b/src/http/StatusCode.cc @@ -33,6 +33,10 @@ Http::StatusCodeString(const Http::StatusCode status) return "Processing"; break; + case Http::scEarlyHints: // 103 + return "Early Hints"; + break; + // 200-299 case Http::scOkay: return "OK"; diff --git a/src/http/StatusCode.h b/src/http/StatusCode.h index 19c00e5500..6f62042aa3 100644 --- a/src/http/StatusCode.h +++ b/src/http/StatusCode.h @@ -22,6 +22,7 @@ typedef enum { scContinue = 100, scSwitchingProtocols = 101, scProcessing = 102, /**< RFC2518 section 10.1 */ + scEarlyHints = 103, /**< draft-kazuho-early-hints-status-code */ scOkay = 200, scCreated = 201, scAccepted = 202,