Hi Justin,
I am checking the issue, please check if you are running different
version of the Python GData Library.
For the If-Match, there are two choices, use the GData-Version 1:
gdata.contacts.service.ContactsService(additional_headers={'GData-
Version': 1})
Or add the ETag or Any(*) to the If-Match header:
client.Delete(entry.GetEditLink().href,extra_headers={'If-Match':
'*'})
We are in the process of updating Contacts Python to v3 and I need to
release a patch to make this easier/transparent.
Cheers,
Julian
On Oct 21, 1:45 am, Justin <[email protected]> wrote:
> Hi Guys,
>
> I'm using the Gdata python library to interact with contacts. I have
> this set up on two seperate machines. Same versions of Python and the
> gdata library. When I try to update or delete a contact on one
> machine, I get a 403 error, if-match or if-none-match header required.
> The other machine works perfectly fine. It seems to me there must be
> something different or missing in the broken server, but i can't for
> the life of me work it out. Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---