Looks like requests lib (swiftclient http libs user underneath) honor HTTP(S)_PROXY en var if set. Not sure if the bug still makes sense. Probably the proxy arg would be needed only to override env var.
A possible work around can be with os.environ['HTTP_PROXY'] = 'http://proxy.example.com'
Looks like requests lib (swiftclient http libs user underneath) honor HTTP(S)_PROXY en var if set.
Not sure if the bug still makes sense. Probably the proxy arg would be needed only to override env var.
A possible work around can be with os.environ[ 'HTTP_PROXY' ] = 'http:// proxy.example. com'