On 09/06/2014 01:19 PM, Валерий Котов wrote:
>
> There is one more thing. Should we care about cross-origin resource
> sharing protocol? If I got it right, XMLHttpeRequset should perform
> "OPTIONS" preflight request before real cors request. Please see links
> below for more details:
> http://www.w3.org/TR/cors/#cross-origin-request-with-preflight-0
> Does it make sense to have separate method for "OPTIONS" request in
> QNetworkAccessManager if it is the case (like for get or post)?
>

>From the docs:

  * QML's XMLHttpRequest
    
<http://qt-project.org/doc/qt-5/qtqml-javascript-qmlglobalobject.html#xmlhttprequest>
 does
    not enforce the same origin policy.

=> you don't care about cross origin requests, much less preflighting.

Jeremy
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to