1. cherrypy
  2. CherryPy
Issue #1055 resolved

cherrypy.response.status is None during on_end_resource phase

Anonymous created an issue

In CherryPy 3.1 and earlier, the cherrypy.response.status was set to a correct value (e.g. "200 OK") during the on_end_resource phase. However in CherryPy 3.2.0 the status attribute is never set. The undocumented attribute output_status is set instead.

{{{ (Pdb) print cherrypy.serving.request.stage on_end_resource (Pdb) print cherrypy.serving.response.status None (Pdb) print cherrypy.serving.response.output_status 200 OK }}}

The change in behavior is an undocumented regression from 3.1.2.

Reported by c.heimes@semantics.de

Comments (2)

  1. Log in to comment