]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add Content-Disposition to the known headers list.
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 8 Mar 2009 11:01:14 +0000 (00:01 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 8 Mar 2009 11:01:14 +0000 (00:01 +1300)
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 9ee36b60e0c63b849afdcccc7799204cbec4f100..2d6fe76aa224511af81c008944f8b493709c2a90 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,