hmm..

the main reason i do not currently support several redirections is, that
this normally indicates a server failure. How is your code protect from
endless recursions on the client side?

Frank Mantek
Google

On 5/6/07, yamamo <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> .NET Client Library can not support consecutively redirection.
>
> How about changing code as follows ?
>
> ===== GDataGAuthRequest Class =====
> protected void Execute(int iRetrying)
> {
>     try
>     {
>         CopyRequestData();
>         base.Execute();
>     }
>
> ...OMITTED...
>
>     catch (GDataRedirectException re)
>     {
>         base.Reset();
>         this.TargetUri = new Uri(re.Location);
>
>         // CopyRequestData();   <--- ORIGINAL
>         // base.Execute();
>
>         this.Execute(iRetrying);   <--- MY SUGGESTION
>     }
>
>
> >
>

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