問題を再現する手順は何ですか?
1.以下のようにバッチ連絡先API(gdata-python-client)を使用して連絡先を更新します
request_feed = gdata.contacts.data.ContactsFeed()
contact_entry = gd_client.GetContact(contact_url)
request_feed.AddUpdate(entry=contact_entry, batch_id_string='update')
response_feed = gd_client.ExecuteBatch(request_feed,'https://www.google.com/m8/feeds/contacts/default/full/batch')
for entry in response_feed.entry:
print '%s: %s (%s)' % (entry.batch_id.text, entry.batch_status.code, entry.batch_status.reason)
2.ドキュメントに記載されているように、リクエストにIf-matchヘッダーを追加してみました
ifmatch_header = atom.client.CustomHeaders(**{"If-Match": "*"})
response_feed = gd_client.ExecuteBatch(request_feed,'https://www.google.com/m8/feeds/contacts/default/full/batch', ifmatch_header=ifmatch_header)
期待される出力は何ですか?代わりに何が見えますか?
If-Match または If-None-Match ヘッダーまたはエントリ etag 属性が必要です