def set_header ( self , key , value ) : self . conn . issue_command ( "Header" , _normalize_header ( key ) , value )
how to custom headers in connect request in python
Sets a HTTP header for future requests .
def set_header(self, key, value):
    """ Sets a HTTP header for future requests. """
    self.conn.issue_command("Header", _normalize_header(key), value)