INNER CODE UNIT · Python
process_request
falconry/falcon · falcon/app.py:121
def process_request(self, req: Request, resp: Response) -> None:
"""Process the request before routing it.
Note:
Because Falcon routes each request based on
req.path, a request can be effectively re-routed
by setting that attribute to a new value from
within process_request().
Args:
req: Request object that will eventually be
routed to an on_* responder method.
resp: Response object that will be routed to
the on_* responder.
"""
def process_resource(
self,