def addHeader(self, name, value, must_understand=False):
        """
        Sets a persistent header to send with each request.

        @param name: Header name.
        """
        self.headers[name] = value
        self.headers.set_required(name, must_understand)