Hi,
I am debugging a piece of code that GETting a request to a server that
isn't localhost. The code looks like this:
public void recieveRequest(final ServerResponseRecipient
callbackOnCompletion) {
this.callback = callbackOnCompletion;
final RequestBuilder rb = new RequestBuilder(
RequestBuilder.GET,
URL.encode(
"http://my.server:9080/myShopInstall/DownloadReport.do?
content=dq_candidate_matches&format=excel_csv"
));
rb.setHeader("Content-Type", "application/x-www-form-
urlencoded");
rb.setRequestData("");
rb.setCallback(this);
try {
rb.send();
} catch (final RequestException e) {
throw new RuntimeException(e);
}
}
Is the ANY way that I can make hosted mode on my development machine
allow this request despite the single-origin policy? If not, I have to
live with at much slowed down build/test cycle...
Sincerely,
Anders
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---