
April 18, 2011
10:20 a.m.
On 02:45 pm, ilja.livenson@gmail.com wrote:
Hi,
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 this. Jean-Paul