On Tue, Jun 30, 2009 at 10:44 AM, Reza Lotun<rlo...@gmail.com> wrote:
> 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).

You should probably do the seek/read instead, since I don't believe
this is guaranteed to be a cStringIO; it might be an actual file on
disk, or something else.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

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

Reply via email to