PASS: HTTP_ConditionalGet : client has valid If-Modified-Since (1 of 1 tests run so far have passed) --- INM = / IMS = Thu, 17 May 2012 12:09:49 GMT Expected = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', '_responseCode' => 'HTTP/1.0 304 Not Modified', 'isValid' => true, ) Returned = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', '_responseCode' => 'HTTP/1.0 304 Not Modified', 'isValid' => true, ) PASS: HTTP_ConditionalGet : client has valid If-Modified-Since with trailing semicolon (2 of 2 tests run so far have passed) --- INM = / IMS = Thu, 17 May 2012 12:09:49 GMT; Expected = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', '_responseCode' => 'HTTP/1.0 304 Not Modified', 'isValid' => true, ) Returned = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', '_responseCode' => 'HTTP/1.0 304 Not Modified', 'isValid' => true, ) PASS: HTTP_ConditionalGet : client has valid ETag (3 of 3 tests run so far have passed) --- INM = "badEtagFoo", "1337256589pri" / IMS = Expected = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', '_responseCode' => 'HTTP/1.0 304 Not Modified', 'isValid' => true, ) Returned = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', '_responseCode' => 'HTTP/1.0 304 Not Modified', 'isValid' => true, ) PASS: HTTP_ConditionalGet : no conditional get (4 of 4 tests run so far have passed) --- INM = / IMS = Expected = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', 'isValid' => false, ) Returned = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', 'isValid' => false, ) PASS: HTTP_ConditionalGet : client has invalid ETag (5 of 5 tests run so far have passed) --- INM = "1337256289pri" / IMS = Expected = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', 'isValid' => false, ) Returned = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', 'isValid' => false, ) PASS: HTTP_ConditionalGet : client has invalid If-Modified-Since (6 of 6 tests run so far have passed) --- INM = / IMS = Thu, 17 May 2012 12:04:49 GMT Expected = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', 'isValid' => false, ) Returned = array ( 'Last-Modified' => 'Thu, 17 May 2012 12:09:49 GMT', 'ETag' => '"1337256589pri"', 'Cache-Control' => 'max-age=0, private, must-revalidate', 'isValid' => false, )