diff options
| author | Paul Winkler <slinkp@gmail.com> | 2012-01-30 14:20:08 -0500 |
|---|---|---|
| committer | Paul Winkler <slinkp@gmail.com> | 2012-01-30 14:20:08 -0500 |
| commit | 73d3a8ebde31f14f538e3fe63e85c3985fb4f9f3 (patch) | |
| tree | 9f9276f7ada4a8acd2a2208e5ed37fc658ae65c7 /docs | |
| parent | bfe8046689b9f9b4273df773a43be19080958193 (diff) | |
| download | pyramid-73d3a8ebde31f14f538e3fe63e85c3985fb4f9f3.tar.gz pyramid-73d3a8ebde31f14f538e3fe63e85c3985fb4f9f3.tar.bz2 pyramid-73d3a8ebde31f14f538e3fe63e85c3985fb4f9f3.zip | |
clarify that there's no technical restriction on the value of request_method
Diffstat (limited to 'docs')
| -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. |
