Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/S/python-glanceclient git:tags/0.14.0^0 ❯❯❯ python
- Python 2.7.8 (default, Aug 24 2014, 21:26:19)
- [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from glanceclient.common.http import HTTPClient
- >>> s = HTTPClient('', ssl_compression=False).session
- >>> s.get('https://httpbin.org/get')
- <Response [200]>
- >>> import pkg_resources
- >>> pkg_resources.get_distribution('requests').version
- '2.4.1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement