[Qt-qml] QML XMLHttpRequest SSL/TLS - HTTPS - Probably Bug?
Marek Sebera
marek.sebera at gmail.com
Sun May 1 11:55:23 CEST 2011
Wish you nice day everyone,
I've just experienced problem, I can't get data with XMLHttpRequest from SSL/TLS served address.
Code snippet:
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function(){
console.log(xhr.readyState);
if(xhr.readyState == XMLHttpRequest.DONE){
// Somecode here
}
}
xhr.open("GET", url_api_https);
xhr.send();
My problem is probably the same as these
http://talk.maemo.org/showthread.php?t=70074
I use Mac 10.6.6, Qt Creator 2.1.0 (based on Qt 4.7.1), QML 1.0, emulator for Qt (Symbian Nokia, no matter what device i use)
I discovered that xhr.readyState is getting these values:
using HTTP: 1,2,3,4
using HTTPS 1,4
Thanks Beforehand
Marek Sebera
http://www.cleevio.com
http://www.msebera.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110501/b342c7d9/attachment.html
More information about the Qt-qml
mailing list