def frontend_rewriter_middleware(application):
 return functools.partial(_rewriter_middleware, _REQUEST_REWRITER_CHAIN, _FRONTEND_RESPONSE_REWRITER_CHAIN, application)

def frontend_rewriter_middleware ( application ) : return functools . partial ( _rewriter_middleware , _REQUEST_REWRITER_CHAIN , _FRONTEND_RESPONSE_REWRITER_CHAIN , application )
wsgi middleware application that applies a chain of response rewriters .