1. cherrypy
  2. CherryPy
Issue #456 resolved

No readlines() method in lib.httptools.SizeCheckWrapper

Christian Wyglendowski
created an issue

Running CP's wsgiApp wrapped with paste.lint middlware brought this to light:

{{{ exceptions.AssertionError: wsgi.input (<cherrypy.lib.httptools.SizeCheckWrapper object at 0x408c622c>) doesn't have the attribute readlines }}}

The WSGI spec dictates that [wsgi.input] should have a readlines() method. SizeCheckWrapper should be updated to support this.

Comments (2)

  1. Log in to comment