From: Amos Jeffries Date: Sun, 8 Mar 2009 11:01:14 +0000 (+1300) Subject: Add Content-Disposition to the known headers list. X-Git-Tag: SQUID_3_2_0_1~1133 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a585e13daa6f99151d521777630ae0a0369ac593;p=thirdparty%2Fsquid.git Add Content-Disposition to the known headers list. --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index dfd1a05c9d..836e3f5813 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -83,6 +83,7 @@ static const HttpHeaderFieldAttrs HeadersAttrs[] = { {"Cache-Control", HDR_CACHE_CONTROL, ftPCc}, {"Connection", HDR_CONNECTION, ftStr}, {"Content-Base", HDR_CONTENT_BASE, ftStr}, + {"Content-Disposition", HDR_CONTENT_DISPOSITION, ftStr}, /* for now */ {"Content-Encoding", HDR_CONTENT_ENCODING, ftStr}, {"Content-Language", HDR_CONTENT_LANGUAGE, ftStr}, {"Content-Length", HDR_CONTENT_LENGTH, ftInt64}, diff --git a/src/HttpHeader.h b/src/HttpHeader.h index 9ee36b60e0..2d6fe76aa2 100644 --- a/src/HttpHeader.h +++ b/src/HttpHeader.h @@ -64,6 +64,7 @@ typedef enum { HDR_CACHE_CONTROL, HDR_CONNECTION, HDR_CONTENT_BASE, + HDR_CONTENT_DISPOSITION, HDR_CONTENT_ENCODING, HDR_CONTENT_LANGUAGE, HDR_CONTENT_LENGTH,