summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunya Hayashi <junya_hayashi@xica.net>2015-03-13 19:39:31 +0900
committerJunya Hayashi <junya_hayashi@xica.net>2015-03-13 19:39:31 +0900
commit59e7ccee7600af7f8c97102a98f675145fbeae8a (patch)
tree05ebae7a09a78f080a6f0ebf992e563a0aa8be82
parentb0218c806d684771b00eb93af58c8482376af349 (diff)
downloadpyramid-59e7ccee7600af7f8c97102a98f675145fbeae8a.tar.gz
pyramid-59e7ccee7600af7f8c97102a98f675145fbeae8a.tar.bz2
pyramid-59e7ccee7600af7f8c97102a98f675145fbeae8a.zip
fix comment in forbidden_view_config
-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