Permalink
Browse files

normalize to notfound

  • Loading branch information...
mcdonc committed Jul 5, 2018
1 parent 40d68c0 commit 881bfd57bb49613172eab043e93cb9dc28d4fb77
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/narr/urldispatch.rst
  2. +1 −1 pyramid/view.py
@@ -916,7 +916,7 @@ if the argument supplied as ``append_slash`` is the special object
instead of a redirect. This makes it possible to successfully invoke a
slash-appended URL without losing the HTTP verb, POST data, or any other
information contained in the original request. Instead of returning a redirect
response when a slash-appended route is detected during the not-found
response when a slash-appended route is detected during the notfound
processing, Pyramid will call the view associated with the slash-appended route
"under the hood" and will return whatever response is returned by that view.
This has the potential downside that both URLs (the slash-appended and the
View
@@ -418,7 +418,7 @@ def aview(request):
slash-appended URL without losing the HTTP verb, POST data, or any other
information contained in the original request. Instead of returning a
redirect response when a slash-appended route is detected during the
not-found processing, Pyramid will call the view associated with the
notfound processing, Pyramid will call the view associated with the
slash-appended route "under the hood" and will return whatever response is
returned by that view. This has the potential downside that both URLs (the
slash-appended and the non-slash-appended URLs) in an application will be

0 comments on commit 881bfd5

Please sign in to comment.