Hook caching into cherrypy.request.
(self)
| 402 | _wrapper.priority = 90 |
| 403 | |
| 404 | def _setup(self): |
| 405 | """Hook caching into cherrypy.request.""" |
| 406 | conf = self._merged_args() |
| 407 | |
| 408 | p = conf.pop('priority', None) |
| 409 | cherrypy.serving.request.hooks.attach('before_handler', self._wrapper, |
| 410 | priority=p, **conf) |
| 411 | |
| 412 | |
| 413 | class Toolbox(object): |
nothing calls this directly
no test coverage detected