def after_this_request(f):
 _request_ctx_stack.top._after_request_functions.append(f)
 return f

def after_this_request ( f ) : _request_ctx_stack . top . _after_request_functions . append ( f ) return f
executes a function after this request .