Brian Lamar 9a32891107 Switch glance XenAPI plugin to use urllib2.
Currently the plugin uses httplib which does not handle redirects
natively. XenAPI plugins require Python 2.4+ so using httplib2
as far as I know is not a possibility.

(Patch Set 2) Oops, forgot to PEP8 before putting up for review.
(Patch Set 3) Updated logging to be more verbose as per Waldon

Change-Id: I189093fe26dfee30b5b8b3c0f2c21a35fbfbc05e
2011-11-08 11:17:41 -05:00
..