[Twisted-Python] Streaming HTTP

Tobias Oberstein tobias.oberstein at tavendo.de
Sun Nov 15 03:18:14 MST 2015


> We should then move to an API that is much more like the one used by Go: specifically, that by default all requests/responses are streamed.
 > Request objects (and, logically, any other object that handles 
requests/responses, such as Resource) should be extended to have a 
chunkReceived method
 > that can be overridden by users.

How does flow-control work with the Go API? How does user code 
processing chunks received unleash backpressure onto the sender?

Cheers,
/Tobias




More information about the Twisted-Python mailing list