From: Amos Jeffries Date: Fri, 10 Apr 2009 07:49:36 +0000 (+1200) Subject: Http 1.1: Support Content-Disposition header X-Git-Tag: SQUID_3_0_STABLE14~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=482530f9f394ef3e6ea7a6901f25f6083574dd24;p=thirdparty%2Fsquid.git Http 1.1: Support Content-Disposition header --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index d6f52fb9f7..0635b63e8c 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -84,6 +84,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 e4eb4c4357..cc49ac4383 100644 --- a/src/HttpHeader.h +++ b/src/HttpHeader.h @@ -58,6 +58,7 @@ typedef enum { HDR_CACHE_CONTROL, HDR_CONNECTION, HDR_CONTENT_BASE, + HDR_CONTENT_DISPOSITION, HDR_CONTENT_ENCODING, HDR_CONTENT_LANGUAGE, HDR_CONTENT_LENGTH,