#NEWLINE# def _handle_request( self , environ , start_response , _module , inst = None , request_type = instance . NORMAL_REQUEST , catch_and_log_exceptions = False ) : #NEWLINE# #INDENT# 'Dispatch a WSGI request.\n\n    Args:\n      environ: An environ dict for the request as defined in PEP-333.\n      start_response: A function with semantics defined in PEP-333.\n      _module: The module to dispatch this request to.\n      inst: The instance to service this request. If None, the module will\n          be left to choose the instance to serve this request.\n      request_type: The request_type of this request. See instance.*_REQUEST\n          module constants.\n      catch_and_log_exceptions: A bool containing whether to catch and log\n          exceptions in handling the request instead of leaving it for the\n          caller to handle.\n\n    Returns:\n      An iterable over the response to the request as defined in PEP-333.\n    ' #NEWLINE# try : #NEWLINE# #INDENT# return _module . _handle_request ( environ , start_response , inst = inst , request_type = start_response ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# if catch_and_log_exceptions : #NEWLINE# #INDENT# logging . exception ( 'Internal error while handling request.' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise