(self, res)
| 961 | return decorator(callback) if callback else decorator |
| 962 | |
| 963 | def default_error_handler(self, res): |
| 964 | return tob(template(ERROR_PAGE_TEMPLATE, e=res, template_settings=dict(name='__ERROR_PAGE_TEMPLATE'))) |
| 965 | |
| 966 | def _handle(self, environ): |
| 967 | path = environ['bottle.raw_path'] = environ['PATH_INFO'] |