开发者

qooxdoo json/request transport method

开发者 https://www.devze.com 2022-12-23 22:38 出处:网络
I try to send a request to my server via GET, but qooxdoo sends request as OPTIONS. Is any way to change this behaviour?

I try to send a request to my server via GET, but qooxdoo sends request as OPTIONS. Is any way to change this behaviour?

I try to use qx.data.store.Json (url) and qx.io.rem开发者_StackOverflow社区ote.Request (url, "GET", type) but result is same in both cases.

My version of qooxdoo is 1.0.1, browsers are FF 3.5.6 and Chromium 5.0.361.


It is most likely a problem due to cross browser restrictions. Give the JSONP store a try and deliver your data as JSONP to get rid of that problem.


I think this is because I try to send cross-domain request from file:/// to http://. If I deploy a test application to server - it works fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消