(self, res)
| 973 | return decorator(callback) if callback else decorator |
| 974 | |
| 975 | def default_error_handler(self, res): |
| 976 | return tob(template(ERROR_PAGE_TEMPLATE, e=res, template_settings=dict(name='__ERROR_PAGE_TEMPLATE'))) |
| 977 | |
| 978 | def _handle(self, environ): |
| 979 | path = environ['bottle.raw_path'] = environ['PATH_INFO'] |