Commits

Joel Rivera  committed a149cf9

Improve the documentation of the `methods_with_bodies` property of
cherrypy.request.

Fixes #1000

  • Participants
  • Parent commits 9b1cb75

Comments (0)

Files changed (1)

File cherrypy/_cprequest.py

     methods_with_bodies = ("POST", "PUT")
     """
     A sequence of HTTP methods for which CherryPy will automatically
-    attempt to read a body from the rfile."""
+    attempt to read a body from the rfile. If you are going to change
+    this property, modify it on the configuration (recommended)
+    or on the "hook point" `on_start_resource`.
+    """
 
     body = None
     """