From 482530f9f394ef3e6ea7a6901f25f6083574dd24 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 10 Apr 2009 19:49:36 +1200 Subject: [PATCH] Http 1.1: Support Content-Disposition header --- src/HttpHeader.cc | 1 + src/HttpHeader.h | 1 + 2 files changed, 2 insertions(+) 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, -- 2.47.2