Hi Ian, Paste users,
Today I'd like to talk about WSGIProxy.
A year ago I've helped Benoit Chesneau to implement a WSGI proxy in
restkit[1]. It basically has the same interfaces as WSGIProxy's
applications.
Yesterday I wrote requests_proxy[2] which is a simple wsgi proxy based
on requests.
Since WSGIProxy is not maintained at the moment, I'd like to take the
ownership of the package on pypi to be able to release a totally new
implementation.
The idea is to provide some common interfaces in order to be able to use
both requests and restkit as backends for Proxies applications/middlewares.
I'll keep the same api as the current WSGIProxy so it won't break
existing code. (maybe just removing the middlewares. They look useless
to me).
requests will be the default backend since it's a pure python
implementation.
Benoit is ok to move restkit's code to the new WSGIProxy package.
Advantages: Both restkit and requests are more solid than httplib. Both
requests and restkit are compatible with python2 and 3. Using third
party libraries will reduce the amount of code.
Disadvantages: This will add requests as a dependency
I can also create a new package, but the name is just perfect, and ...
WSGIProxy may die if nobody does anything :)
Your thoughts ?
Regards,
Ga�l
[1]
https://github.com/benoitc/restkit/blob/master/restkit/contrib/wsgi_proxy.py
[2]
https://github.com/gawel/requests_proxy