Commits

Robert Brewer committed 25429ff

This really should be 411, despite #650.

  • Participants
  • Parent commits 2bf166e

Comments (0)

Files changed (1)

cherrypy/test/test_core.py

         # Provide a C-T or webtest will provide one (and a C-L) for us.
         h = [("Content-Type", "text/plain")]
         self.getPage("/method/reachable", headers=h, method="PUT")
-        self.assertBody("success")
+        self.assertStatus(411)
         
         # Request a custom method with a request body
         b = ('<?xml version="1.0" encoding="utf-8" ?>\n\n'