[Twisted-Python] exarkun changed [#4029 - Twisted Web's wsgi.input isn't sufficiently file-like in all cases]

Phil Christensen phil at bubblehouse.org
Mon Nov 16 21:56:03 EST 2009



-phil

[sent from my phone]

On Nov 16, 2009, at 4:56 PM, trac at twistedmatrix.com wrote:

> Ticket [#4029 - Twisted Web's wsgi.input isn't sufficiently file- 
> like in all cases] changed by exarkun <exarkun at twistedmatrix.com>:
>
> (In [27518]) Merge wsgi-none-readline-4029
>
> Author: rikyu
> Reviewer: exarkun
> Fixes: #4029
> Refs: #4114
>
> Add a test for WSGI requests which end up with a  
> `tempfile.TemporaryFile`
> for `Request.content` and fix the implementation to deal with this  
> case
> by not passing `None` for the length argument to `readline` (which  
> temp
> files do not accept, unlike StringIOs).  WSGI applications can now  
> receive
> requests with large bodies.
>
> ---------
> status   : assigned -> closed
> resolution:  -> fixed
> ---------
> http://twistedmatrix.com/trac/ticket/4029



More information about the Twisted-Python mailing list