[Python-Dev] [Web-SIG] Adding wsgiref to stdlib (original) (raw)
Collin Winter collinw at gmail.com
Fri Apr 28 22:47:38 CEST 2006
- Previous message: [Python-Dev] [Web-SIG] Adding wsgiref to stdlib
- Next message: [Python-Dev] [Web-SIG] Adding wsgiref to stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/28/06, Phillip J. Eby <pje at telecommunity.com> wrote:
At 01:19 PM 4/28/2006 -0700, Guido van Rossum wrote: >It still looks like an application of WSGI, not part of a reference >implementation. Multiple apps looks like an advanced topic to me; more >something that the infrastructure (Apache server or whatever) ought to >take care of.
I'm fine with a super-simple implementation that emphasizes the concept, not feature-richness. A simple dict-based implementation showcases both the wsgiref function for path shifting, and the idea of composing an application out of mini-applications. (The point is to demonstrate how people can compose WSGI applications without needing a framework.) But I don't think that this demo should be a prefix mapper; people doing more sophisticated routing can use Paste or Routes. If it's small enough, I'd say to add this mapper to wsgiref.util, or if Guido is strongly set against it being in the code, we should at least put it in the documentation as an example of how to use 'shiftpathinfo()' in wsgiref.util.
Perhaps this could go in Demo/wsgiref/?
Collin Winter
- Previous message: [Python-Dev] [Web-SIG] Adding wsgiref to stdlib
- Next message: [Python-Dev] [Web-SIG] Adding wsgiref to stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]