summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-01-30 18:40:37 -0500
committerChris McDonough <chrism@plope.com>2012-01-30 18:40:37 -0500
commita7496ad1a9dde89a9c656b59f8bcc0f2d8f29acf (patch)
tree4f56efdb34644dde638a0b2725334854a2d5883d /docs/narr/viewconfig.rst
parentbfe8046689b9f9b4273df773a43be19080958193 (diff)
parentffe63527e341f742cd77cbb7c72ff5a973ee8d77 (diff)
downloadpyramid-a7496ad1a9dde89a9c656b59f8bcc0f2d8f29acf.tar.gz
pyramid-a7496ad1a9dde89a9c656b59f8bcc0f2d8f29acf.tar.bz2
pyramid-a7496ad1a9dde89a9c656b59f8bcc0f2d8f29acf.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/viewconfig.rst')
-rw-r--r--docs/narr/viewconfig.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index d1188eaec..763c0e131 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -280,8 +280,8 @@ configured view.
*This is an advanced feature, not often used by "civilians"*.
``request_method``
- This value can be one of the strings ``GET``, ``POST``, ``PUT``,
- ``DELETE``, or ``HEAD`` representing an HTTP ``REQUEST_METHOD``. A view
+ This value can be a string (typically ``"GET"``, ``"POST"``, ``"PUT"``,
+ ``"DELETE"``, or ``"HEAD"``) representing an HTTP ``REQUEST_METHOD``. A view
declaration with this argument ensures that the view will only be called
when the request's ``method`` attribute (aka the ``REQUEST_METHOD`` of the
WSGI environment) string matches the supplied value.