8 messages in com.googlegroups.google-calendar-help-dataapiRe: Avoid redirects (was Re: the API ...
FromSent OnAttachments
Frank Mantek08 Aug 2006 08:11 
Francis08 Aug 2006 10:02 
Frank Mantek08 Aug 2006 10:05 
Frank Mantek08 Aug 2006 10:24 
Francis08 Aug 2006 10:37 
Frank Mantek08 Aug 2006 10:49 
Herchu22 Aug 2006 03:35 
Frank Mantek22 Aug 2006 04:00 
Subject:Re: Avoid redirects (was Re: the API documentation tell us that to get the events...)
From:Frank Mantek (fman@gmail.com)
Date:08/22/2006 04:00:09 AM
List:com.googlegroups.google-calendar-help-dataapi

There is not guaraneed way to avoid redirections. On first contact, you almost always have a redirect, or at least your code has to be written in a way that expects redirects.

Now, if you follow the docs, and get your session cookie, and save that cookie, and use it in subsequent "first contacts", you might run a good chance that a redirect is not required.

You can not avoid the "potential" of the redirect, but you might be able to minimize it.

On 8/22/06, Herchu <hfof@gmail.com> wrote:

Frank Mantek:

I should probably change my signature to indicate that :) Yes, i work for Google, and I am, among other things, mainly responsible for the GData C# client libraries.

Could you expand on this? I mean, in how to avoid redirections not in your curricula :)

I'm working on a phone J2ME application that access Google Calendar and want to aviod redirections becuase it costs money to the user and, more important, some devices fail to get the incoming string after a 30x response.

The docs are very sparse on this. They say it's possible but does not state clearly how to (or at least I couldn't find it)

Regards, -Hernán.