

def test_caseInsensitiveHeaders(self):
    '\n        L{FakeRequest.getHeader} will return the value of a header regardless\n        of casing.\n        '
    host = 'example.com'
    request = FakeRequest()
    self.requestHeaders.setRawHeaders('host', [host])
    self.assertEqual(request.getHeader('hOsT'), host)

dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py TestFakeRequest.test_caseInsensitiveHeaders/VarMisuse@22/70 `request`->`self`