Clean up README and add lots of comments to moderator.py
diff --git a/apiclient/discovery.py b/apiclient/discovery.py
index 2c89528..df01aa0 100644
--- a/apiclient/discovery.py
+++ b/apiclient/discovery.py
@@ -48,7 +48,7 @@
DEFAULT_METHOD_DOC = 'A description of how to use this function'
# Query parameters that work, but don't appear in discovery
-STACK_QUERY_PARAMETERS = ['trace', 'fields']
+STACK_QUERY_PARAMETERS = ['trace', 'fields', 'pp', 'prettyPrint', 'userIp', 'strict']
def key2param(key):
diff --git a/apiclient/http.py b/apiclient/http.py
index 206f3e6..138ce48 100644
--- a/apiclient/http.py
+++ b/apiclient/http.py
@@ -203,7 +203,8 @@
behavours that are helpful in testing.
'echo_request_headers' means return the request headers in the response body
- 'echo_request_headers_as_json' means return the request headers in the response body
+ 'echo_request_headers_as_json' means return the request headers in
+ the response body
'echo_request_body' means return the request body in the response body
"""
@@ -299,7 +300,8 @@
headers = {}
if method == 'PATCH':
if 'authorization' in headers and 'oauth_token' in headers['authorization']:
- logging.warning('OAuth 1.0 request made with Credentials applied after tunnel_patch.')
+ logging.warning(
+ 'OAuth 1.0 request made with Credentials applied after tunnel_patch.')
headers['x-http-method-override'] = "PATCH"
method = 'POST'
resp, content = request_orig(uri, method, body, headers,