From: Amos Jeffries Date: Wed, 7 Dec 2016 11:53:33 +0000 (+1300) Subject: HTTP/1.1: Add registered codes entry for new 103 (Early Hints) status code X-Git-Tag: M-staged-PR71~348 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=375008c6bf2ccf4b0d94598e8549845128f99e00;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,