def set_header(self, name, value, append=False):
if append:<EOL><INDENT>self.add_header(name, value)<EOL><DEDENT>else:<EOL><INDENT>self._headers[_hkey(name)] = [str(value)]<EOL><DEDENT>
Create a new response header, replacing any previously defined
            headers with the same name.