def get_response_page(self):
<EOL>if self.err_condition:<EOL><INDENT>return ("<STR_LIT>", compat.to_bytes(self.err_condition.as_string()))<EOL><DEDENT>status = get_http_status_string(self)<EOL>html = []<EOL>html.append(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>)<EOL>html.append("<STR_LIT>")<EOL>html.append(<EOL>"<STR_LIT>"<EOL>)<EOL>html.append("<STR_LIT>".format(status))<EOL>html.append("<STR_LIT>")<EOL>html.append("<STR_LIT>".format(status))<EOL>html.append("<STR_LIT>".format(compat.html_escape(self.get_user_info())))<EOL>html.append("<STR_LIT>")<EOL>html.append(<EOL>"<STR_LIT>".format(<EOL>__version__, compat.html_escape(str(datetime.datetime.now()), "<STR_LIT:utf-8>")<EOL>)<EOL>)<EOL>html.append("<STR_LIT>")<EOL>html = "<STR_LIT:\n>".join(html)<EOL>return ("<STR_LIT>", compat.to_bytes(html))<EOL>
Return a tuple (content-type, response page).