Ticket #772 (task)
Opened 9 months ago
Last modified 9 months ago
Make the wsgiserver single-app by default
Status: closed (fixed)
| Reported by: | fumanchu | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | high | Milestone: | 3.1 |
| Component: | CherryPy code | Keywords: | |
| Cc: |
Currently (3.1beta3), the wsgiserver automatically wraps multiple incoming apps in a WSGIPathInfoDispatcher instance, mostly because CP passes cherrypy.tree.apps instead of just cherrypy.tree. Both behaviors should be changed so that 1) the wsgiserver only takes a single app, and 2) cpwsgi passes the whole tree. The latter would make the test suite a lot easier, as well as giving users the ability to dynamically mount apps more easily.
Change History
01/17/08 00:25:58: Modified by fumanchu
- status changed from new to closed.
- resolution set to fixed.


Implemented in [1867]. I decided to warn about multiple apps for now, and plan to deny starting in 3.2.