Go to file
Brian Curtin f6b9aaa983 Provide a better default user-agent string
This change provides a default user-agent with more information and
adjusts the handling of user-agent arguments to fall in line with RFC
7231 Section 5.5.3. We now specify the package name and version for the
SDK as well as the Python implementation and version as the default.

From there, a user can specify their application name and version but it
does not replace the overall user-agent. As the RFC states,
product/version pairs are listed in decreasing order, so anything the
user specifies is prepended to whatever string is currently set for that
Transport instance.

If headers are passed in to a Transport.request method which carry a
`User-Agent`, they are used as-is unless the caller also specified a
`user_agent` parameter.

This change simplifies the tests slightly without reducing any coverage.

Change-Id: I80ca26fff3f2522b8232472676396abb86166f91
2015-02-08 09:57:48 -06:00
2014-04-21 09:31:52 -06:00
2014-10-07 16:03:53 -06:00
2015-02-02 19:56:56 -06:00
2014-11-13 08:11:58 -07:00
2014-06-16 14:03:30 -07:00
2015-01-26 12:27:53 -07:00

OpenStack Python SDK

python-openstacksdk is a new Python library and SDK for OpenStack clouds. It is very young, and not yet usable, but it's under active development.

Our goal is to provide a Python library which is:

  • Pleasant to use
  • Well documented
  • Complete (works with any OpenStack project)

Building Documentation

This documentation is written by contributors, for contributors.

The source is maintained in the doc/source/ folder using reStructuredText and built by Sphinx

To build the docs locally:

$ python setup.py build_sphinx

Results are in the doc/build/html/ directory.

Requirements

  • Python 2.6+, Python 3.3+
  • pbr
  • requests
  • iso8601
  • stevedore

License

Apache 2.0

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 3 MiB