On Thu, 2013-06-27 at 11:39 -0400, Jay Pipes wrote: > On 06/26/2013 12:55 PM, Adam Young wrote: > > Glance: > > - Uses httplib for communication > > - Uses keystoneclient within cli > > - Checks that socket is patched before importing eventlet for httplib. > > For the record, Glance uses httplib, not httplib2, for its > request/response handling because httplib2 does not support > chunked-transfer encoding. This is the same reason that Swift's client > and server communication uses the httplib library over httplib2 -- it's > kind of important when you have multi-GB file transfers ;) > > I note that the requests library supports chunked transfer: > > http://docs.python-requests.org/en/latest/user/advanced.html#chunk-encoded-requests > > Might be time for the Glance developers to consider switching out > httplib for requests? > > I noticed that the original email did not include Swift. Is there a > reason for not including it?
Nope, complete oversight: Swift: - Uses keystoneclient within swiftclient library - Uses httplib - Uses eventlet for https connections if socket is patched. > All the best, > -jay > > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
