]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add Content-Disposition to the known headers list.
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 9 Apr 2009 09:15:50 +0000 (21:15 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 9 Apr 2009 09:15:50 +0000 (21:15 +1200)
src/HttpHeader.cc
src/HttpHeader.h

index dfd1a05c9dac9f48fe4f24e1e6f7788679bc41d3..836e3f581319bc8fa842204aea3baecd1dfa5cac 100644 (file)
@@ -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},
index 740a663ec2cd5ca2752dc06c006d63d1b8c2ff4f..dce629d9a869a59eb2330b7987c3f55950883018 100644 (file)
@@ -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,