INNER CODE UNIT · Python
params
falconry/falcon · falcon/app.py:1175
params = m.groupdict() # type: ignore[union-attr]
responder = obj # type: ignore[assignment,unused-ignore]
break
else:
responder = self.__class__._default_responder_path_not_found
return (responder, params, resource, uri_template)
def _compose_status_response(
self, req: _ReqT, resp: _RespT, http_status: HTTPStatus
) -> None:
"""Compose a response for the given HTTPStatus instance."""
# PERF(kgriffs): The code to set the status and headers is identical
# to that used in _compose_error_response(), but refactoring in the
# name of DRY isn't worth the extra CPU cycles.
resp.status = http_status.status