comparison src/server/utils.py @ 1092:63ed5f6bd4eb

pages: new "getURLByPath" method in LiberviaPage, which is similar to getURLByNames, but which a more readable way to request a path with named pages.
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:58:20 +0200
parents 808ec98de8b3
children cdd389ef97bc
comparison
equal deleted inserted replaced
1091:092e910292c9 1092:63ed5f6bd4eb
95 handler_data[u'started'] = started_cb 95 handler_data[u'started'] = started_cb
96 handler_data[u'finished'] = finished_cb 96 handler_data[u'finished'] = finished_cb
97 handler_data[u'error'] = error_cb 97 handler_data[u'error'] = error_cb
98 handler_data[u'timeout'] = reactor.callLater(timeout, self._timeout) 98 handler_data[u'timeout'] = reactor.callLater(timeout, self._timeout)
99 return deferred 99 return deferred
100
101
102 class SubPage(unicode):
103 """use to mark subpages when generating a page path"""