#NEWLINE# def send( self , application = None , catch_exc_info = False ) : #NEWLINE# #INDENT# '\n        Like ``.call_application(application)``, except returns a\n        response object with ``.status``, ``.headers``, and ``.body``\n        attributes.\n\n        This will use ``self.ResponseClass`` to figure out the class\n        of the response object to return.\n\n        If ``application`` is not given, this will send the request to\n        ``self.make_default_send_app()``\n        ' #NEWLINE# if ( application is None ) : #NEWLINE# #INDENT# application = self . make_default_send_app ( ) #NEWLINE# #UNINDENT# if catch_exc_info : #NEWLINE# #INDENT# ( status , headers , app_iter , exc_info ) = self . call_application ( application , catch_exc_info = True ) #NEWLINE# del exc_info #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( status , headers , app_iter ) = self . call_application ( application , catch_exc_info = False ) #NEWLINE# #UNINDENT# return self . ResponseClass ( status = status , headerlist = list ( headers ) , app_iter = app_iter )