[Twisted-web] [SOLVED] Re: t.w.client.downloadPage with large amount of postData
Giorgos Logiotatidis
seadog at sealabs.net
Sun Oct 10 05:41:26 EDT 2010
On Fri, 2010-10-08 at 13:23 +0000, exarkun at twistedmatrix.com wrote:
> If you're lucky, then Agent already supports all the features you're
> interested in, depending on Twisted 9.0 is okay for you, and you can
> switch to using it right away. There are some helpers still missing,
> so
> you'll find it a little clunkier to use than downloadPage, but it
> will
> let you send your upload without loading it all into memory.
I found a solution using client.Agent from this page [1]. The code on
that page uses this twistedx python module which uses client.Agent [2]
Thank you for your answer,
-g
[1]
http://marianoiglesias.com.ar/python/file-uploading-with-multi-part-encoding-using-twisted/
[2]
http://github.com/mariano/pyfire/blob/master/pyfire/twistedx/producer.py
More information about the Twisted-web
mailing list