]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Http 1.1: Support Content-Disposition header
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Apr 2009 07:49:36 +0000 (19:49 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Apr 2009 07:49:36 +0000 (19:49 +1200)
src/HttpHeader.cc
src/HttpHeader.h

index d6f52fb9f733c5bb71c12f290ccfa51089d59514..0635b63e8c3bfb84fff5763ede10865f0a83720d 100644 (file)
@@ -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},
index e4eb4c4357be0ba054c3c5a488961d93ca7c459b..cc49ac43836f9c636da027a423494688cbac50dc 100644 (file)
@@ -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,