Skip to content

Commit

Permalink
clarify that there's no technical restriction on the value of request…
Browse files Browse the repository at this point in the history
…_method
  • Loading branch information
slinkp committed Jan 30, 2012
1 parent bfe8046 commit 73d3a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/narr/viewconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 73d3a8e

Please sign in to comment.