def _delegate_sub_application(self, dir, app):
        web.ctx._oldctx = web.storage(web.ctx)
        web.ctx.home += dir
        web.ctx.homepath += dir
        web.ctx.path = web.ctx.path[len(dir):]
        web.ctx.fullpath = web.ctx.fullpath[len(dir):]
        return app.handle_with_processors()
Deletes request to sub application `app` rooted at the directory `dir`.
dataset/ETHPy150Open joxeankoret/nightmare/runtime/web/application.py/application._delegate_sub_application