def set_header(self, key: str, value: str) -> None:
        """
        set response header
        :param key: the key of header
        :param value: the value of header
        """
        self.headers[key] = value