From: Amos Jeffries Date: Thu, 9 Apr 2009 09:15:50 +0000 (+1200) Subject: Add Content-Disposition to the known headers list. X-Git-Tag: SQUID_3_1_0_8~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=565b6de65bf068af87e4e4eb6be9d86019241b5c;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 740a663ec2..dce629d9a8 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,