I think I know where the problem occurs. The 401 Auth error you receive with a GoogleLogin challenge tells me that the server didn't receive your AuthSub header with the token. I looked through your code and I noticed that you definitely send the AuthSub header. I believe what's happening is that the underlying HTTP library sends the request, receives a 302 (temporarily moved) reply with the new URL, automatically follows this URL dropping your AuthSub header. This can be confirmed by using a utility like tcpdump or ethereal to look at the packets being sent over the wire.
If you're unable to get the library to stop following redirects, there is a different mechanism that might be of use to you. You can look at it's implementation in the GData C# library. Briefly, you can set a header called 'X-If-No-Redirect' in your request. The Google server will reply with a 412 (Precondition Failed) response instead of a 302 with the URL in the 'X-Redirect-Location' header. You can use this URL to retry the request. Hope this helps, sanjay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
