commit | 9a8f94bab0bd764463c98ea8da71a2d200f65ca3 | [log] [tgz] |
---|---|---|
author | Pepper Lebeck-Jobe <eljobe@gmail.com> | Mon Jun 08 10:07:06 2015 -0400 |
committer | Pepper Lebeck-Jobe <eljobe@gmail.com> | Fri Jun 12 11:29:00 2015 -0400 |
tree | 6e8e184c5104ad6a106a5196926c46bea3e9afea | |
parent | 63f5f3ed02f530e90ce28be71177a601e2d8291c [diff] |
Stop stripping newlines from batch requests When forming a multipart/mixed HTTP request like the ones created using the BatchHttpRequest object, the request is supposed to include two trailing newlines to signify: 1. The termination of the HTTP headers for each wrapped request. 2. The empty body of the wrapped request. Without this change some implementations of API servers were rejecting requests generated by this client. Specifically requests which had an empty wrapped request body.
This is the Python client library for Google's discovery based APIs. To get started, please see the full documentation for this library. Additionally, dynamically generated documentation is available for all of the APIs supported by this library.
To install, simply use pip
or easy_install
:
$ pip install --upgrade google-api-python-client
or
$ easy_install --upgrade google-api-python-client
See the Developers Guide for more detailed instructions and additional documentation.
Python 2.6 or 2.7 are fully supported.
Python 3.3+ is also now supported! However, this library has not yet been used as thoroughly with Python 3, so we'd recommend testing before deploying with Python 3 in production.
The following libraries will be installed when you install the client library:
For development you will also need the following libraries:
Please see the contributing page for more information. In particular, we love pull requests - but please make sure to sign the contributor license agreement.