Yes RequestBuilder is not working. The response-code there is always = 0 
(same origin policy). 

Today I use as workaround JsonpRequestBuilder and try to receive 
JavaScriptObjects from "http://gdata.youtube.com/feeds/api/videos?";. But 
there must be a better way to handle this. 
E.g. I want to test a walled garden URL like 
"http://clients3.google.com/generate_204"; and others to be really sure that 
the client is inside a walled garden.



Am Montag, 22. Dezember 2014 16:53:18 UTC+1 schrieb Chad Vincent:
>
> 1) Walled Garden
> 2) Any attempt to contact a different server in the javascript will 
> trigger a security warning in most browsers, if not be blocked.  You 
> certainly can try and perform an HTTP request via RequestBuilder, but I 
> wouldn't count on it being reliable.
>
> On Monday, December 22, 2014 3:37:59 AM UTC-6, marian lux wrote:
>>
>> I need to check if my GWT application is inside a wallet garden (wifi 
>> hotspot without internet connection). How to handle this in an easy way on 
>> client side?
>> Is there a way to ping e.g. google.com and return true/false in a method 
>> like "boolean isInWalletGarden();" ? Can anyone post such a method?
>>
>> THX Marian
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to