From: Amos Jeffries Date: Wed, 20 Mar 2013 22:39:26 +0000 (-0600) Subject: Register new Key header X-Git-Tag: SQUID_3_4_0_1~227 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f44e93416284bfc3d734e2435a1bf7bf87134d77;p=thirdparty%2Fsquid.git Register new Key header see http://tools.ietf.org/html/draft-fielding-http-key-02 for details on the Vary extensions this header will be providing. --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 4515303804..9c50309dde 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -112,6 +112,7 @@ static const HttpHeaderFieldAttrs HeadersAttrs[] = { {"If-None-Match", HDR_IF_NONE_MATCH, ftStr}, /* for now */ {"If-Range", HDR_IF_RANGE, ftDate_1123_or_ETag}, {"Keep-Alive", HDR_KEEP_ALIVE, ftStr}, + {"Key", HDR_KEY, ftStr}, {"Last-Modified", HDR_LAST_MODIFIED, ftDate_1123}, {"Link", HDR_LINK, ftStr}, {"Location", HDR_LOCATION, ftStr}, diff --git a/src/HttpHeader.h b/src/HttpHeader.h index e93cf95d67..f595b96f63 100644 --- a/src/HttpHeader.h +++ b/src/HttpHeader.h @@ -90,6 +90,7 @@ typedef enum { HDR_IF_RANGE, /**< RFC 2608, 2616 */ /*HDR_IF_UNMODIFIED_SINCE,*/ /**< RFC 2608, 2616 */ HDR_KEEP_ALIVE, /**< obsolete HTTP/1.0 header we may need to erase */ + HDR_KEY, /**< experimental RFC Draft draft-fielding-http-key-02 */ HDR_LAST_MODIFIED, /**< RFC 2608, 2616 */ HDR_LINK, /**< RFC 2068 */ HDR_LOCATION, /**< RFC 2608, 2616 */