From 565b6de65bf068af87e4e4eb6be9d86019241b5c Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 9 Apr 2009 21:15:50 +1200 Subject: [PATCH] Add Content-Disposition to the known headers list. --- src/HttpHeader.cc | 1 + src/HttpHeader.h | 1 + 2 files changed, 2 insertions(+) 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, -- 2.47.3