Hi, I tried doing this a year ago but put it in the 'too hard' bucket. I've opened a PR (again) replacing the use of httplib with the requests package.
The consequences are: - Connection.conn_classes is no longer a tuple, it is Connection.conn_class. There is no separation between a HTTP and HTTPS connection. I could have just hacked around this but I updated all the tests instead - Mock implementations no longer use the tuple as above - We cannot support Python 3.2 officially anymore. Requests does not support 3.2 - The raw connection still uses httplib. I decided it was too risky to swap that for requests' method of uploading files. https://github.com/apache/libcloud/pull/923#partial-pull-merging Please remote fetch this branch and test it out on some working code talking to real APIs. Mocks can only go so far. I've uploaded the package here - http://people.apache.org/~anthonyshaw/libcloud/1.5.0.post0/ I would like to get this merged but would like some additional nods before it gets merged into trunk. Ant
