def get_headers(self):
        # Strip any headers invalid in H2.
        return h2_safe_headers(self.headers)
Test to ensure you can dynamically create a sink route attached to a hug API
dataset/ETHPy150Open Lukasa/hyper/hyper/http20/stream.py/Stream.get_headers--crossover with--dataset/ETHPy150Open timothycrosley/hug/tests/test_route.py/TestAPIRouter.test_sink