mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
Changes required for Domain Shared Contacts
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user