INNER CODE UNIT · Python
_STREAM_BLOCK_SIZE
falconry/falcon · falcon/app.py:223
_STREAM_BLOCK_SIZE: ClassVar[int] = 8 * 1024 # 8 KiB
_STATIC_ROUTE_TYPE: ClassVar[type[routing.StaticRoute]] = routing.StaticRoute
# NOTE(kgriffs): This makes it easier to tell what we are dealing with
# without having to import falcon.asgi.
_ASGI: ClassVar[bool] = False
# NOTE(kgriffs): We do it like this rather than just implementing the
# methods directly on the class, so that we keep all the default
# responders colocated in the same module. This will make it more
# likely that the implementations of the async and non-async versions
# of the methods are kept in sync (pun intended).
_default_responder_bad_request: ClassVar[ResponderCallable] = responders.bad_request
_default_responder_path_not_found: ClassVar[ResponderCallable] = (
responders.path_not_found
)