From 1d8ace8bd58c87d7c2bb881b911622d30d94e83d Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 21 Sep 2007 09:49:05 +0000 Subject: [PATCH] Don't copy the Date: header from the object to the reply git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1976 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/include/http_headers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/include/http_headers.h b/varnish-cache/include/http_headers.h index 85c7053b..05cd7599 100644 --- a/varnish-cache/include/http_headers.h +++ b/varnish-cache/include/http_headers.h @@ -32,7 +32,7 @@ * b session field name * c Request(1)/Response(2) bitfield * d (obsolete) - * e Supress header in pass from client to backend + * e Supress header in filter ops * f unused * g unused * @@ -70,7 +70,7 @@ HTTPH("Content-Location", H_Content_Location, 2, 0, 0, 0, 0) /* RFC2616 14.14 * HTTPH("Content-MD5", H_Content_MD5, 2, 0, 0, 0, 0) /* RFC2616 14.15 */ HTTPH("Content-Range", H_Content_Range, 2, 3, HTTPH_R_PASS|HTTPH_A_PASS|HTTPH_R_FETCH|HTTPH_A_INS, 0, 0) /* RFC2616 14.16 */ HTTPH("Content-Type", H_Content_Type, 2, 0, 0, 0, 0) /* RFC2616 14.17 */ -HTTPH("Date", H_Date, 2, 0, 0, 0, 0) /* RFC2616 14.18 */ +HTTPH("Date", H_Date, 2, 0, HTTPH_A_DELIVER, 0, 0) /* RFC2616 14.18 */ HTTPH("ETag", H_ETag, 2, 0, 0, 0, 0) /* RFC2616 14.19 */ HTTPH("Expect", H_Expect, 1, 0, 0, 0, 0) /* RFC2616 14.20 */ HTTPH("Expires", H_Expires, 2, 0, 0, 0, 0) /* RFC2616 14.21 */ -- 2.39.5