[Twisted-Python] ReverseProxy (http) using Twisted

I have to write a quick and dirty ReverseProxy with Twisted, for one of our internal project. I never used Twisted before, and I was wondering of someone have an handy example of a ReverseProxy with Twisted to help that I can use as bootstrap. Many thanks. Fred

Fred C пишет:
I have to write a quick and dirty ReverseProxy with Twisted, for one of our internal project. I never used Twisted before, and I was wondering of someone have an handy example of a ReverseProxy with Twisted to help that I can use as bootstrap.
There is an example of reverse proxy in twisted-web.
Many thanks. Fred
------------------------------------------------------------------------
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

On Nov 16, 2009, at 11:41 PM, Artem Bokhan wrote:
Fred C пишет:
I have to write a quick and dirty ReverseProxy with Twisted, for one of our internal project. I never used Twisted before, and I was wondering of someone have an handy example of a ReverseProxy with Twisted to help that I can use as bootstrap.
There is an example of reverse proxy in twisted-web.
Sorry for not being more specific but That example don't explain how to do thing like url rewriting for example. Or maybe we are not talking about the same one. Fred

Fred C пишет:
On Nov 16, 2009, at 11:41 PM, Artem Bokhan wrote:
Fred C пишет:
I have to write a quick and dirty ReverseProxy with Twisted, for one of our internal project. I never used Twisted before, and I was wondering of someone have an handy example of a ReverseProxy with Twisted to help that I can use as bootstrap.
There is an example of reverse proxy in twisted-web.
Sorry for not being more specific but That example don't explain how to do thing like url rewriting for example. Or maybe we are not talking about the same one.
I think you should look into the source of twisted.web and redefine classes you need.
Fred
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (2)
-
Artem Bokhan
-
Fred C