Twisted Web's wsgi.input isn't sufficiently file-like in all cases
[email protected] Tue, 15 Sep 2009 19:52:52 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from exarkun <[email protected]>: The `read` method of the wsgi.input object sometimes raises a `TypeError`. This seems to be because it can pass `None` to an underlying wrapped file-like object and some popular examples of such do not like to be passed `None`. Specifically, `cStringIO.StringIO` (but not `StringIO.StringIO` and `file` raise `TypeError` when this is done. ---------- Type : defect Component: web Keywords : wsgi Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4029