A WSGI base for middlewares that modifies (transforms) the response