Hi everybody,

the following code works fine with Chrome but doesn't work with Firefox. The
serverside is a Django running in dev mode. I can also get the response when
I type the url in the Firefox adress bar. 
Firebug tells me that the request is ok with a 200 code but the
"success"-Listener is never triggered. 
The Header from firebug can be found subsequently.


button2.addListener("execute", function(e) {
                var req = new qx.io.request.Xhr();
                req.setUrl("http://127.0.0.1:8000/getPublicIP";)
                req.addListener("success", function(e) {
                        var req = e.getTarget();
                        var response = req.getResponse();
                        console.log(response);
                }, this);
                req.send();
});


Antwort-Header
Content-Type    text/html; charset=utf-8
Date    Tue, 06 Aug 2013 15:11:39 GMT
Server  WSGIServer/0.1 Python/2.7.3
Anfrage-Header
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Host    127.0.0.1:8000
Origin  http://localhost:8000
Referer http://localhost:8000/gui
User-Agent      Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101
Firefox/22.0

Hope this is no duplicate. Thanks for your help.

Yours
Marco




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/qx-io-request-Xhr-works-with-chrome-but-not-firefox-tp7584294.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to