benoitc/restkit — Issue #77: Cannot connect to https url via http-proxy
Author: kewisch
Created: 2011-10-27 13:02:56+00:00
State: open

Where I am now, I need to use a http_proxy to access all external hosts. restkit assumes that if the url being requested is https, then so is the proxy.

I have a simple patch that checks the scheme of the url given by %s_proxy env var and passes that to connect() and the manager. Unfortuantely the next error I get is http.Unreader not being found. I installed restkit via osx lion's easy_install and have restkit-3.3.2-py2.7.egg. Searching through the restkit I have installed, there is no Unreader, I only see this in gunicorn.

If you can give me a hint whats going wrong, I can complete the patch and do a pull request.