A middleware that supports cross-request data