[Twisted-web] Twisted-web Digest, Vol 107, Issue 4

小学园PHP xxy-php at qq.com
Thu Mar 21 21:34:49 EDT 2013

Thanks, Laurens. I will have a try with your advices.

Message: 2
Date: Thu, 21 Mar 2013 07:32:18 -0700
From: Laurens Van Houtven <_ at lvh.cc>
Subject: Re: [Twisted-web] A Question, TIA!
To: Twisted Web World <twisted-web at twistedmatrix.com>
	<CAE_Hg6YN8-cf42=ddPSW2w6zJ08-R+9z=+9G0q2EHOXYyMSRdQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Sounds like you want twisted.web.client.Agent;  when you make a request you
get an IResponse object that has a deliverBody method that takes a
protocol. That protocol can receive chunks (dataReceived), or you could use
e.g. a LineReceiver if you know they're delimited chunks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20130322/f5b8e724/attachment.htm 

More information about the Twisted-web mailing list