#NEWLINE# def execute_output_middleware_stream( self , request , response , controller ) : #NEWLINE# #INDENT# controller_name = '' . join ( controller . get_controller_name ( ) . split ( '-' ) [ : 1 ] ) #NEWLINE# for m in response . output_middleware : #NEWLINE# #INDENT# to_execute = getattr ( m ( controller ) , controller_name , None ) #NEWLINE# if to_execute : #NEWLINE# #INDENT# response = to_execute ( request , response ) #NEWLINE# #UNINDENT# #UNINDENT# return response