def setHeader(self, name, value):
        self.outgoingHeaders[name.lower()] = value
TODO: make this assert on write() if the header is content-length
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_web.py/DummyRequest.setHeader