From 59e7ccee7600af7f8c97102a98f675145fbeae8a Mon Sep 17 00:00:00 2001 From: Junya Hayashi Date: Fri, 13 Mar 2015 19:39:31 +0900 Subject: fix comment in forbidden_view_config --- pyramid/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3