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
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to