def add_header(self, name, value, replace=False):
        if not replace:
            self.headers[name] = value
        else:
            self.headers.replace(name, value)
Adds a single HTTP header to the headers to be sent on the request.
dataset/ETHPy150Open Lukasa/hyper/hyper/http20/stream.py/Stream.add_header