Re: [Twisted-web] Twisted-web Digest, Vol 107, Issue 4
21 Mar
2013
21 Mar
'13
8:34 p.m.
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 <_@lvh.cc> Subject: Re: [Twisted-web] A Question, TIA! To: Twisted Web World <twisted-web@twistedmatrix.com> Message-ID: <CAE_Hg6YN8-cf42=ddPSW2w6zJ08-R+9z=+9G0q2EHOXYyMSRdQ@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.
4143
Age (days ago)
4143
Last active (days ago)
0 comments
1 participants
participants (1)
-
小学园PHP