Paul Winkler
2012-01-30 73d3a8ebde31f14f538e3fe63e85c3985fb4f9f3
clarify that there's no technical restriction on the value of request_method
1 files modified
4 ■■■■ changed files
docs/narr/viewconfig.rst 4 ●●●● patch | view | raw | blame | history
docs/narr/viewconfig.rst
@@ -280,8 +280,8 @@
  *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.