def response(self, status, content_type, content, headers=None):
assert not isinstance(content, (str, bytes)), '<STR_LIT>'<EOL>response_headers = [('<STR_LIT:Content-Type>', content_type)]<EOL>if headers:<EOL><INDENT>response_headers.extend(headers)<EOL><DEDENT>self.start_response(status, response_headers)<EOL>return content<EOL>
Send an HTTP response