[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    does XMLHttpRequest support https access and setting request headers =?iso-8859-1?Q?in_qml=3F?=
From:       Bruce Ouyang <bruce.oy () gmail ! com>
Date:       2013-07-21 10:15:45
Message-ID: 7ca533a7-e9b6-4f06-a3f3-58f6d8bcaf6b () gmail ! com
[Download RAW message or body]

1, i try to call xhr.open("GET", \
"https://api.weibo.com/2/short_url/shorten.json?source=3599790545&url_long=http%3A%2F%2Fopen.weibo.com%2Fwiki%2F2%2Fshort_url%2Fshorten") \
but failed, but i can open this link in google chrome browser. 2, when i try to call \
xhr.setRequestHeader("Content-Type", "application/json"), an error is throwed out : \
Error: Invalid state

looking forward for your reply !
thanks advance !

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic