[Twisted-Python] http.Request and JSON
Itamar Shtull-Trauring
itamar at itamarst.org
Tue Jun 30 08:33:16 MDT 2009
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.
More information about the Twisted-Python
mailing list