diff options
| author | Chris McDonough <chrism@plope.com> | 2012-01-30 15:39:01 -0800 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-01-30 15:39:01 -0800 |
| commit | ffe63527e341f742cd77cbb7c72ff5a973ee8d77 (patch) | |
| tree | 4f56efdb34644dde638a0b2725334854a2d5883d /docs/narr/viewconfig.rst | |
| parent | bfe8046689b9f9b4273df773a43be19080958193 (diff) | |
| parent | 3f8e72a2412866ca937d5e95679813c00367ed0a (diff) | |
| download | pyramid-ffe63527e341f742cd77cbb7c72ff5a973ee8d77.tar.gz pyramid-ffe63527e341f742cd77cbb7c72ff5a973ee8d77.tar.bz2 pyramid-ffe63527e341f742cd77cbb7c72ff5a973ee8d77.zip | |
Merge pull request #422 from slinkp/master
Traversal docs: add a single-file example
Diffstat (limited to 'docs/narr/viewconfig.rst')
| -rw-r--r-- | docs/narr/viewconfig.rst | 4 |
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. |
