Python http proxy library based on libevent or comparable technologies?

I want to create an intelligent HTTP reverse proxy capable of routing, checking headers and enrichment (like exploring and creating cookies and http headers), as well as various other quirks. For a general idea of ​​what I'm going to build, see Ruby Proxies for scaling and monitoring - except for Python.

I understand that Twisted is a very good answer for this, and this eventmachine was inspired by Twisted, but I'm looking for something other than Twisted.

An ideal library or package that includes HTTP proxy features that I could change with my own little plugins.

I remember seeing something based on eventlib that has http server capabilities built in, but I can't find it.

I also study deep perlbal; which looks almost like a perfect solution, except in Perl.

Any recommendations?

+3
source share
1 answer

Not sure if it fits all your needs, but proxylet is a reverse proxy based on the Linden Lab eventlet .

+3
source

Source: https://habr.com/ru/post/1715024/


All Articles