Hi,
with new browsers it's possibile to mitigate the cross domain ajax request problem using another trick, if you have access to the server side that fulfills the request: setting the header "Access-Control-Allow-Origin" in the response, like this in python (for example):
Anyway Smartclient LGPL 8.0 still presents the warning related to the same-origin policy, even if it will consume properly the data coming back from the server.
Is there a way to disable that annoying warning?
with new browsers it's possibile to mitigate the cross domain ajax request problem using another trick, if you have access to the server side that fulfills the request: setting the header "Access-Control-Allow-Origin" in the response, like this in python (for example):
Code:
response.headers['Access-Control-Allow-Origin']='*'
Is there a way to disable that annoying warning?
Comment