- Timestamp:
- Dec 20, 2009, 9:44:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/main.py
r2674 r2675 69 69 @cherrypy.expose 70 70 @cherrypy.tools.mako(filename="/helloworld.mako") 71 def helloworld(self): 72 return {} 73 return "Hello world!\nYour request: "+repr(dir(cherrypy.request)) 71 def helloworld(self, **kwargs): 72 return {'request': cherrypy.request, 'kwargs': kwargs} 74 73 helloworld._cp_config['tools.require_login.on'] = False 75 74
Note: See TracChangeset
for help on using the changeset viewer.