Don't do format if it's unnecessary Upstream-commit: d6be0e98027611cfb14a3246ca797bee0936e649 Component: engine
handleWithGlobalMiddlewares
handlerWithGlobalMiddlewares