When to use WSGI middleware?
I write a router that takes the path of a requests, match it against a regex and calls a WSGI handler, if the regex matches. The dict with the matching capturing groups is added to the envrion. Is it bad style to modify the environ with WSGI middleware? But is that what WSGI middleware was invented for? I've just read WSGI Middleware Co...