]> err.no Git - varnish/commitdiff
Don't pass If-* headers to backend
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 16:19:08 +0000 (16:19 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 16:19:08 +0000 (16:19 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@251 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/http_headers.h

index e3d3aaa60ad7543135195bf2b7090e44cd18df87..ed1c76e9c2d2cec58f597d881a8f6d3d6107e016 100644 (file)
@@ -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 */