--- /dev/null
+import cherrypy
+from pprint import pformat
+
+class Root(object):
+ def default(self, *args, **kw):
+ cherrypy.response.headers['Content-type'] = 'text/plain'
+ return pformat(dict(filter(lambda x: not x[0][:2] == '__', cherrypy.request.__dict__.items())))
+ default.exposed = True
+
+ def test(self):
+ return 'test'
+ test.exposed = True
+