def set_header(self, header, value):
        """
        Set a given header
        
        header: header name (string)
        value: header value (usually, string)
        """
        if self.__headers is not None:
            self.__headers[header] = value
        else:
            self.__headers = {header: value}
dataset/ETHPy150Open sysdream/pysqli/pysqli/core/context.py/Context.set_header/original