Merge lp:~mvo/piston-mini-client/add-proxy-support into lp:piston-mini-client
Proposed by
Michael Vogt
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Anthony Lenton | ||||
Approved revision: | 44 | ||||
Merged at revision: | 42 | ||||
Proposed branch: | lp:~mvo/piston-mini-client/add-proxy-support | ||||
Merge into: | lp:piston-mini-client | ||||
Diff against target: |
177 lines (+113/-12) 3 files modified
piston_mini_client/__init__.py (+51/-12) piston_mini_client/tests/test_proxy.py (+59/-0) piston_mini_client/tests/test_resource.py (+3/-0) |
||||
To merge this branch: | bzr merge lp:~mvo/piston-mini-client/add-proxy-support | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anthony Lenton | Approve | ||
Review via email: mp+77183@code.launchpad.net |
Description of the change
This adds support for reading the http/https proxy from the environment. Unfortunately it also needs python-socksipy as a additional dependency. Fortunately its tiny.
To post a comment you must log in.
Hi mvo!
Thanks for the patch!
Improvements for a later branch, notes to myself more than anything else:
- Update the docs to mention these improvements
- The tests fail if you don't have socksipy available already. SocksiPy isn't installable from PyPI it seems, we'll need to figure out a way to make that work or disable the proxy tests if it isn't available