[Twisted-web] producer-consumer example with web requests

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Apr 18 11:20:45 EDT 2011

On 02:45 pm, ilja.livenson at gmail.com wrote:
>I wonder if someone could help me with making of a streaming proxy - I
>understand how producers/consumers work with general twisted, but
>unsure of the best strategy in case of twisted.web.
>So, the problem is as follows: frontend that accepts a request with
>some headers I must process and a potentially large body. The latter
>I'd like to be able to proxy in a streaming manner to another http
>server. Any suggestions?

You might find twisted/web/proxy.py to be a good example of how to do 


More information about the Twisted-web mailing list