#NEWLINE# def __call__( self , environ , start_response ) : #NEWLINE# #INDENT# if hasattr ( self , '_before_request_handler' ) : #NEWLINE# #INDENT# self . _before_request_handler ( environ ) #NEWLINE# #UNINDENT# request = Request ( environ = environ ) #NEWLINE# body = self . call ( request ) #NEWLINE# start_response ( body . status , request . headers . items ( ) ) #NEWLINE# if hasattr ( self , '_after_request_handler' ) : #NEWLINE# #INDENT# self . _after_request_handler ( environ ) #NEWLINE# #UNINDENT# return body