Hi Julian,
On Thu, Oct 22, 2009 at 1:55 AM, Julian (Google) <[email protected]> wrote:
>
> Hi Justin,
>
> I am checking the issue, please check if you are running different
> version of the Python GData Library.
As mentioned in my original message, the gdata library is the same
version on each machine. The version of Python is the same on both
machines. The OS version and update level is the same on both
machines. The application code is the same on both machines.
But one works, and one doesn't.
>
> For the If-Match, there are two choices, use the GData-Version 1:
> gdata.contacts.service.ContactsService(additional_headers={'GData-
> Version': 1})
This fixed the problem, however this means I'm using version 1, when
soon version 3 will be available? I don't think that's really a
problem for my application, as long as the v1 protocol is still
supported.
However, this feels more like a workaround than a solution.
>
> 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
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---