[Web-SIG] WSGI in standard library

Clark C. Evans cce at clarkevans.com
Wed Feb 8 02:27:10 CET 2006


On Tue, Feb 07, 2006 at 04:38:02PM -0800, Robert Brewer wrote:
| >   - it should _not_ have any functionality beyond the 
| >     minimums required by WSGI: specificially, it should
| >     not handle multiple WSGI applications (routing)
| 
| Having just added routing to CherryPy's WSGI server in less than a dozen
| lines of code, I'd be interested to know why you feel routing shouldn't
| be included.

Routing, in particular, can be done just as easily in a WSGI middleware
component where alternative approaches can be taken without bias. In my
opinion, just beacuse something can have a feature doesn't mean it
should: too many levers make an interface complicated.

Kind Regards,

Clark


More information about the Web-SIG mailing list