def test_add_response_headers(self):
        route = self.route.response_headers({'one': 'two'})
        assert route.route['response_headers'] == {'one': 'two'}
        assert route.add_response_headers({'two': 'three'}).route['response_headers'] == {'one': 'two', 'two': 'three'}
Main service entrypoint. Called via Thread.start() via PantsDaemon.run().
dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestHTTPRouter.test_add_response_headers--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/pantsd/service/pailgun_service.py/PailgunService.run