Changeset 1007
- Timestamp:
- 03/12/06 08:46:32
- Files:
-
- trunk/cherrypy/filters/wsgiappfilter.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/filters/wsgiappfilter.py
r1005 r1007 201 201 202 202 class Root(object): 203 @cherrypy.expose204 203 def index(self): 205 204 yield "<h1>Hi, from CherryPy!</h1>" … … 208 207 yield "SCRIPT_NAME and PATH_INFO get set " 209 208 yield "<a href='app/this/n/that'>properly</a>" 209 index.exposed = True 210 210 211 211 # mount standard CherryPy app

