On Tue, 2009-06-30 at 21:56 +0800, Vincent Gulinao wrote:
> In my case at least it's cStringIO, and getvalue() sufficed.
> 
> Sorry, subscribing to twisted-web now.
> 
> Thanks everyone.

One last followup, for those not on twisted-web: DO NOT use getvalue().
The promised interface is file-like. And in fact, if the body is bigger
than a certain size the object will not be a cStringIO and your code
will break.


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to