Right! thanks for the info.

So what is the general design pattern for detecting bad server calls
using make request? Something like returning an error string that i
can detect in the response.text?




On Mar 5, 12:00 pm, Aakash Bapna <aak...@live.com> wrote:
> Hi David,
>
> The response_object.error has error from the proxy which makes a call to your 
> server ie. makerequest internal errors . Mainly it has 504 gateway timeout 
> errors when your server takes too long to respond to proxy.
> It doesnot give respect to your server's error codes and the error obj is 
> null.
>
> Thanks,
> Aakash Bapnahttp://aakash.me
>
>
>
> > Date: Thu, 5 Mar 2009 10:45:19 -0800
> > Subject: [orkut-developer] makerequest error detection
> > From: david.wil...@entertainmentcloud.com
> > To: opensocial-orkut@googlegroups.com
>
> > hi,
>
> > when you get a response call back from a makerequest call. Should the
> > response_object.error array contain an error if i return an error
> > status from my webserver. Or does this just contain makerequest
> > internal errors?
>
> > If the later, how do i detect that there has been a problem with the
> > call my server side?
>
> > I ask because im setting the response code to 500, but this does not
> > cause anything to be in the error array.
>
> > thanks
>
> > David
>
> _________________________________________________________________
> Free photo editing software from Windows Live . Try it 
> now!http://clk.atdmt.com/UKM/go/134665240/direct/01/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to