Hi,

I am guessing that this a result of an indirection that Google server sent
to you and your program follows it without re-attaching the token to the
header.  As mentioned in the Protocol doc for Calendar, the server would
occasionally send 302 redirect (performance reason).

You should consider using our client libraries to talk to Google Calendar,
all our client libraries perform the redirection check and append the token
accordingly, please go to this page for more info -

http://code.google.com/apis/gdata/clientlibs.html

Austin

On Thu, Mar 6, 2008 at 8:07 AM, Gummbahla <[EMAIL PROTECTED]> wrote:

>
> When I try retreiving a list of events for the first time after I
> logged in with ClientLogin, I get an "401 Authentication required"
> response from the server. This only happens the first time I try to
> receive the list.
> When I send the same request again, everything runs smoothly.
>
> The query i'm sending to the server:
>
>
> http://www.google.com/calendar/feeds/default/private/full?start-min=2008-02-20T00:00:00&start-max=2008-02-26T23:59:59
>
> Of course, I'm also setting the "Authorization" header with value
> "GoogleLogin auth=....."
>
> I double checked that the autentication header is the same as with the
> second request, so i really can't figure out what's happening here.
>
> Anyone got a clue?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to