Dean Troyer aa8d82e5d0 Add requests.Session wrapper class
Wrapper class for requests.Session adds some common OpenStack functionality
* log all requests and responses at debug level
* json-encode request body passed in to request() in json keyword arg
* set default user_agent at Session creation
* set default verify at Session creation

This sets the base for some additional functionality to follow:
* handle redirects properly for a REST API client
* handle a default auth token to set the X-Auth-Token header for simple use cases

Partially implements blueprint: rest-client
Change-Id: Ice3f2dae4a99fe59c7cc384a857900e3ae45a7d2
2014-04-01 18:01:40 -05:00
2014-02-09 22:19:40 -08:00

python-openstacksdk

  • Free software: Apache license
Description
Unified SDK for OpenStack
Readme 76 MiB
Languages
Python 99.9%
Shell 0.1%