Test all of the file-related twisted.web.wsgi code-paths with each of the possible file-like objects they might be used with

[email protected] Mon, 16 Nov 2009 21:01:55 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from exarkun <[email protected]>:

Twisted Web sometimes uses a `cStringIO.StringIO`, sometimes a `tempfile.TemporaryFile`, for `request.content`.  These types are subtly incompatible.  The Twisted Web WSGI tests should exercise the relevant code against each of these types (and perhaps be generally factored to be amenable to testing against new types in case the need for such arises).  This will catch problems like the one described in #4029.


----------
Type     : enhancement
Component: web
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/4114