INNER CODE UNIT · Python
process_response
falconry/falcon · falcon/app.py:165
def process_response(
self,
req: Request,
resp: Response,
resource: object,
req_succeeded: bool
) -> None:
"""Post-processing of the response (after routing).
Args:
req: Request object.
resp: Response object.
resource: Resource object to which the request was
routed. May be None if no route was found
for the request.
req_succeeded: True if no exceptions were raised
while the framework processed and routed the
request; otherwise False.