I'm working on some Ruby code to do Calendar stuff. I ran into an
issue where I'm getting an infinite loop of 302 redirects.

I was redirecting to the "location:" header per the documentation, but
it just kept coming back with another 302 with a new gsessionid each
time. The Developer's Guide indicates adding the gsessionid is all
that's needed. I'm finding that's not the case.

Digging through the discussion forums here, I found a developer
comment mentioning something about a cookie. After I added the cookie
info to the new GET request all was well.

I'd recommend updating the Developer's Guide to mention the cookie.
The following 3 sections all mention the 302 redirect, but don't say a
thing about the cookie:
"Request the feed"
"Add an event"
"Send a date-range query"

Regards,
James H.


--~--~---------~--~----~------------~-------~--~----~
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