int get_error_page(object response)
int get_error_page(Response response)
int get_error_page(object response){	int code;	response->set_header("Content-Type", "text/html");	response->clear_content();	code = response->get_status();#if 0	SYSLOG("Fetching error-page for " + code + " from " + 			object_name(status[code][HTTP_ST_HOOK]) + "\n");#endif	if(code && typeof(status[code][HTTP_ST_HOOK]) == T_OBJECT) {		response->add_content(					status[code][HTTP_ST_HOOK]->error_page(response)		);	} else {		/* Default error message. */		response->add_content(				get_server()->get_server_string() + "<br>" +				"You encountered an error or a TODO " +				"(and status page was missing).<br><br>" +				"<b>" + http_status_string(code) + "</b><br>"		);	}	response->update_content_length();	return TRUE;}