proxy argument needed in client.Connection
Bug #1425283 reported by
Fausto Marzi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
The swiftclient allows to explicitly set a proxy from the argument of client.
Would be an helpful feature to have, as Connection allows to use retry and retry_on_ratelimit while HTTPConnection don't.
Thanks,
Fausto
To post a comment you must log in.
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'