MCPcopy Index your code
hub / github.com/webpy/webpy / process

Method process

web/application.py:270–283  ·  view source on GitHub ↗
(processors)

Source from the content-addressed store, hash-verified

268
269 def handle_with_processors(self):
270 def process(processors):
271 try:
272 if processors:
273 p, processors = processors[0], processors[1:]
274 return p(lambda: process(processors))
275 else:
276 return self.handle()
277 except web.HTTPError:
278 raise
279 except (KeyboardInterrupt, SystemExit):
280 raise
281 except:
282 print(traceback.format_exc(), file=web.debug)
283 raise self.internalerror()
284
285 # processors must be applied in the reverse order. (??)
286 return process(self.processors)

Callers

nothing calls this directly

Calls 2

handleMethod · 0.95
internalerrorMethod · 0.95

Tested by

no test coverage detected