Changes required for Domain Shared Contacts

This commit is contained in:
Ross Scroggs
2015-10-03 21:25:18 -07:00
parent fdc4e867c2
commit 6dec0ea0f1
2 changed files with 3 additions and 2 deletions

View File

@@ -181,7 +181,8 @@ class AtomService(object):
if content_length: if content_length:
all_headers['Content-Length'] = str(content_length) all_headers['Content-Length'] = str(content_length)
all_headers['GData-Version'] = '2.0' if 'GData-Version' not in all_headers:
all_headers['GData-Version'] = '2.0'
# Find an Authorization token for this URL if one is available. # Find an Authorization token for this URL if one is available.
if self.override_token: if self.override_token:
auth_token = self.override_token auth_token = self.override_token

View File

@@ -233,7 +233,7 @@ class GDataService(atom.service.AtomService):
and remove_token. and remove_token.
""" """
atom.service.AtomService.__init__(self, http_client=http_client, atom.service.AtomService.__init__(self, http_client=http_client,
token_store=token_store) additional_headers=additional_headers, token_store=token_store)
self.email = email self.email = email
self.password = password self.password = password
self.account_type = account_type self.account_type = account_type