I'm trying to use ruby to access my private calendar feed by adapting
Jochen Hartmenn's ruby code for interacting with the google
spreadsheets api:
http://code.google.com/support/bin/answer.py?answer=93164&topic=12027
Using his get_feed method, I get a "302 Redirect" response when I try
to access my calendar's private feed. The following article suggests
that I just need to keep track of the given gsessionid and use it as a
parameter in subsequent requests:
http://code.google.com/support/bin/answer.py?answer=55833&topic=10360
However, when I use the response's url with a gsessionid for a
subsequent request, I receive another 302 response redirecting me to a
url with a different gsessionid. Why am I being assigned a new
gsessionid?
My code is pasted here: http://pastie.org/219266. Any ideas would be
greatly appreciated.
Thanks,