From c7c88f4079c15e3e4bc289d917af4fad371210e1 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 28 Jun 2006 16:19:08 +0000 Subject: [PATCH] Don't pass If-* headers to backend git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@251 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/include/http_headers.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/varnish-cache/include/http_headers.h b/varnish-cache/include/http_headers.h index e3d3aaa6..ed1c76e9 100644 --- a/varnish-cache/include/http_headers.h +++ b/varnish-cache/include/http_headers.h @@ -38,11 +38,11 @@ HTTPH("Expect", H_Expect, 1, 0, 0, 0, 0) /* RFC2616 14.20 */ HTTPH("Expires", H_Expires, 2, 0, 0, 0, 0) /* RFC2616 14.21 */ HTTPH("From", H_From, 1, 0, 0, 0, 0) /* RFC2616 14.22 */ HTTPH("Host", H_Host, 1, 0, 0, 0, 0) /* RFC2616 14.23 */ -HTTPH("If-Match", H_If_Match, 1, 0, 0, 0, 0) /* RFC2616 14.24 */ -HTTPH("If-Modified-Since", H_If_Modified_Since, 1, 0, 0, 0, 0) /* RFC2616 14.25 */ -HTTPH("If-None-Match", H_If_None_Match, 1, 0, 0, 0, 0) /* RFC2616 14.26 */ -HTTPH("If-Range", H_If_Range, 1, 0, 0, 0, 0) /* RFC2616 14.27 */ -HTTPH("If-Unmodified-Since", H_If_Unmodifed_Since, 1, 0, 0, 0, 0) /* RFC2616 14.28 */ +HTTPH("If-Match", H_If_Match, 1, 1, 0, 0, 0) /* RFC2616 14.24 */ +HTTPH("If-Modified-Since", H_If_Modified_Since, 1, 1, 0, 0, 0) /* RFC2616 14.25 */ +HTTPH("If-None-Match", H_If_None_Match, 1, 1, 0, 0, 0) /* RFC2616 14.26 */ +HTTPH("If-Range", H_If_Range, 1, 1, 0, 0, 0) /* RFC2616 14.27 */ +HTTPH("If-Unmodified-Since", H_If_Unmodifed_Since, 1, 1, 0, 0, 0) /* RFC2616 14.28 */ HTTPH("Last-Modified", H_Last_Modified, 2, 0, 0, 0, 0) /* RFC2616 14.29 */ HTTPH("Location", H_Location, 2, 0, 0, 0, 0) /* RFC2616 14.30 */ HTTPH("Max-Forwards", H_Max_Forwards, 1, 0, 0, 0, 0) /* RFC2616 14.31 */ -- 2.39.5