'If the resource is older than the if-modified-since date in the request
header, L{http.Request.setLastModified} returns L{http.CACHED}.'

def test_setLastModifiedCached(self):

    req = http.Request(DummyChannel(), False)
    req.requestHeaders.setRawHeaders(networkString('if-modified-since'), ['02    Jan    1970    00:00:00    GMT'])
    result = req.setLastModified(42)
    self.assertEqual(result, http.CACHED)
