

def test_smashInitialHeaderCase(self):
    '\n        L{FakeRequest.getHeader} will return the value of a header specified to\n        L{FakeRequest.__init__} even if the header names have differing case.\n        '
    host = 'example.com'
    request = FakeRequest(headers={
        'HoSt': host,
    })
    self.assertEqual(host.getHeader('hOsT'), host)

dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py TestFakeRequest.test_smashInitialHeaderCase/VarMisuse@36/111 `request`->`host`