mitsuhiko/werkzeug — pull request #288 by alanjds (2013-05-03 04:14:51+00:00)
Title: New: ContentModifier middleware

Hi.

I just added a ContentModifier WSGI middleware that simplifies the task of changing the response body and headers on the fly. It does not buffer the body, and is designed to work with generators.

It have a simple test. Please send back some thoughts if its not ready to merge.

Thanks, Alan.