[Twisted-Python] HTTP PUT a GET's streaming response with treq

Nagy, Attila bra at fsn.hu
Fri May 5 05:40:43 MDT 2017


On 05/05/2017 12:29 PM, Phil Mayers wrote:
> On 05/05/17 10:41, Nagy, Attila wrote:
>
>> What possible side effects do you see here? What problems could it 
>> cause?
>> So far I've tried to copy a lot of files in parallel, arbitrarily 
>> drop connections. Everything seems OK.
>> The file is either transferred in its entirety or (in case of dropped 
>> connections) not.
>
> Cool. If you're happy using private members, knock yourself out.
I'm not happy with that of course. The really cool thing would be if 
Twisted could support this task without the need of complicated and 
error-prone code.




More information about the Twisted-Python mailing list