Two additional hide-if-modified-since{} tests created while debugging #2797798.
authorFabian Keil <fk@fabiankeil.de>
Thu, 28 May 2009 21:38:13 +0000 (21:38 +0000)
committerFabian Keil <fk@fabiankeil.de>
Thu, 28 May 2009 21:38:13 +0000 (21:38 +0000)
As it turns out they don't actually cause any problems,
but at least in theory they could be edge cases and are
thus test-worthy.

regression-tests.action

index b9ed2ca..13a881f 100644 (file)
@@ -1,5 +1,5 @@
 #############################################################################
-# $Id: regression-tests.action,v 1.23 2009/05/13 19:26:22 fabiankeil Exp $
+# $Id: regression-tests.action,v 1.24 2009/05/27 20:37:15 fabiankeil Exp $
 #############################################################################
 #
 # This is a configuration file for Privoxy-Regression-Test
@@ -252,6 +252,8 @@ TAG:^hide-if-modified-since\{block\}$
 # Expect Header = REMOVAL
 # Set Header    = If-Modified-Since: Thu, 04 Oct 2007 09:56:35 GMT
 # Expect Header = SOME CHANGE
+# Set Header    = If-Modified-Since: Thu, 1 Jan 1970 00:00:00 GMT
+# Expect Header = SOME CHANGE
 
 {+hide-if-modified-since{-60} -crunch-if-none-match}
 TAG:^hide-if-modified-since\{-60\}$
@@ -260,6 +262,8 @@ TAG:^hide-if-modified-since\{-60\}$
 # Expect Header = REMOVAL
 # Set Header    = If-Modified-Since: Thu, 04 Oct 2007 09:56:35 GMT
 # Expect Header = SOME CHANGE
+# Set Header    = If-Modified-Since: Wed, 31 Dec 1969 23:59:59 GMT
+# Expect Header = SOME CHANGE
 
 {+hide-if-modified-since{+60} -crunch-if-none-match}
 TAG:^hide-if-modified-since\{\+60\}$