Flask - Middleware and Extensions
Identify the issue in this middleware snippet:
class FaultyMiddleware:
def __init__(self, app):
self.app = app
def __call__(self, environ, start_response):
response = self.app(environ)
return response
app.wsgi_app = FaultyMiddleware(app.wsgi_app)