def get_headers(self):
        # Strip any headers invalid in H2.
        return h2_safe_headers(self.headers)
Provides the headers to the connection object.
dataset/ETHPy150Open Lukasa/hyper/hyper/http20/stream.py/Stream.get_headers