[Twisted-Python] http.Request and JSON

Reza Lotun rlotun at gmail.com
Tue Jun 30 04:44:58 EDT 2009


On Tue, Jun 30, 2009 at 9:18 AM, Phil Mayers<p.mayers at imperial.ac.uk> wrote:
> request.content.read()

To be safer, I do a request.content.getvalue() since content is a
cStringIO object and you can never be sure if somewhere along the
chain of processing someone hasn't done a .read and forgot to do a


Reza Lotun
+44 (0)7521 310 763
rlotun at gmail.com

More information about the Twisted-Python mailing list