Skip to content

Commit

Permalink
docs(ASGI tutorial): clarify the possibility of matching a sink prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Dec 19, 2020
1 parent f21950c commit 7d347e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/api/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ specifications in the URI template:
some_resource
)
.. _routing_builting_converters:
.. _routing_builtin_converters:

Built-in Converters
-------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/user/tutorial-asgi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ Falcon's default router supports simple validation and transformation using
:ref:`field converters <routing_field_converters>`. In this example, we
will use the :class:`~falcon.routing.UUIDConverter` to validate
the ``image_id`` input as :class:`~uuid.UUID`. Converters are specified using
their :ref:`shorthand identifiers <routing_builting_converters>`; for instance,
their :ref:`shorthand identifiers <routing_builtin_converters>`; for instance,
the route corresponding to ``on_get_image`` will look like (see also the next
chapter)::

Expand Down Expand Up @@ -574,8 +574,8 @@ is left as an exercise for the reader.
automatically render an ``HTTP 404 Not Found`` response by raising an
instance of :class:`~falcon.HTTPNotFound` (unless that exception is
intercepted by a
:meth:`custom error handler <falcon.asgi.App.add_error_handler>`, or masked
by a sink).
:meth:`custom error handler <falcon.asgi.App.add_error_handler>`, or if the
path matches a sink prefix).

Conversely, if a route was matched, but there is no responder for the
HTTP method in question, Falcon would render
Expand Down

0 comments on commit 7d347e3

Please sign in to comment.