def endheaders(self, data=None):
        self.current_request.state = "body"
        self.last_request = self.current_request

        if data is not None:
            self.send(data)
TODO in mac/linux: return True if didn't time out
dataset/ETHPy150Open koenbok/Cactus/cactus/tests/integration/__init__.py/BaseTestHTTPConnection.endheaders--crossover with--dataset/ETHPy150Open ardekantur/pyglet/pyglet/app/base.py/PlatformEventLoop.step