From: hno <> Date: Tue, 12 Sep 2000 04:10:02 +0000 (+0000) Subject: Added the Authenticate-Info and Proxy-Authenticate-Info headers from X-Git-Tag: SQUID_3_0_PRE1~1859 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=84ecfcb9f80e913b950f28e939ace09ced80fb5e;p=thirdparty%2Fsquid.git Added the Authenticate-Info and Proxy-Authenticate-Info headers from RFC2617 --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 82867f8b6b..c5941d4726 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.cc,v 1.66 2000/03/06 16:23:28 wessels Exp $ + * $Id: HttpHeader.cc,v 1.67 2000/09/11 22:10:02 hno Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -101,6 +101,7 @@ static const HttpHeaderFieldAttrs HeadersAttrs[] = {"Mime-Version", HDR_MIME_VERSION, ftStr}, /* for now */ {"Pragma", HDR_PRAGMA, ftStr}, {"Proxy-Authenticate", HDR_PROXY_AUTHENTICATE, ftStr}, + {"Proxy-Authentication-Info", HDR_PROXY_AUTHENTICATION_INFO, ftStr}, {"Proxy-Authorization", HDR_PROXY_AUTHORIZATION, ftStr}, {"Proxy-Connection", HDR_PROXY_CONNECTION, ftStr}, {"Public", HDR_PUBLIC, ftStr}, @@ -117,6 +118,7 @@ static const HttpHeaderFieldAttrs HeadersAttrs[] = {"Via", HDR_VIA, ftStr}, /* for now */ {"Warning", HDR_WARNING, ftStr}, /* for now */ {"WWW-Authenticate", HDR_WWW_AUTHENTICATE, ftStr}, + {"Authentication-Info", HDR_AUTHENTICATION_INFO, ftStr}, {"X-Cache", HDR_X_CACHE, ftStr}, {"X-Cache-Lookup", HDR_X_CACHE_LOOKUP, ftStr}, {"X-Forwarded-For", HDR_X_FORWARDED_FOR, ftStr}, @@ -149,6 +151,8 @@ static http_hdr_type ListHeadersArr[] = HDR_VIA, /* HDR_WARNING, */ HDR_WWW_AUTHENTICATE, + HDR_AUTHENTICATION_INFO, + HDR_PROXY_AUTHENTICATION_INFO, /* HDR_EXPECT, HDR_TE, HDR_TRAILER */ HDR_X_FORWARDED_FOR }; diff --git a/src/enums.h b/src/enums.h index 92f77e728f..d279a395c6 100644 --- a/src/enums.h +++ b/src/enums.h @@ -1,6 +1,6 @@ /* - * $Id: enums.h,v 1.170 2000/07/21 06:06:22 wessels Exp $ + * $Id: enums.h,v 1.171 2000/09/11 22:10:02 hno Exp $ * * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -220,6 +220,7 @@ typedef enum { HDR_MIME_VERSION, HDR_PRAGMA, HDR_PROXY_AUTHENTICATE, + HDR_PROXY_AUTHENTICATION_INFO, HDR_PROXY_AUTHORIZATION, HDR_PROXY_CONNECTION, HDR_PUBLIC, @@ -236,6 +237,7 @@ typedef enum { HDR_VIA, HDR_WARNING, HDR_WWW_AUTHENTICATE, + HDR_AUTHENTICATION_INFO, HDR_X_CACHE, HDR_X_CACHE_LOOKUP, /* tmp hack, remove later */ HDR_X_FORWARDED_FOR,