Hi,

On Tue, Jun 30, 2009 at 9:18 AM, Phil Mayers<[email protected]> 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
.seek(0,0).

Cheers,
Reza

-- 
Reza Lotun
+44 (0)7521 310 763
[email protected]

_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to