summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/view.py b/pyramid/view.py
index 02ac8849f..f48592e16 100644
--- a/pyramid/view.py
+++ b/pyramid/view.py
@@ -380,7 +380,7 @@ class forbidden_view_config(object):
@forbidden_view_config()
def forbidden(request):
- return Response('You are not allowed', status='401 Unauthorized')
+ return Response('You are not allowed', status='403 Forbidden')
All arguments passed to this function have the same meaning as
:meth:`pyramid.view.view_config` and each predicate argument restricts