def getheader(self, header, default=None):
if isinstance(header, str):<EOL><INDENT>return self.headers.get(header.lower(), default)<EOL><DEDENT>return self.__rawheaders.get(header, default)<EOL>
Returns the response header value for the given header, which may
either be a string (not case-sensitive) or the raw byte
value of the header ID.

Returns the specified default value if the header is not present.