HTTP OPTIONS support

57 views
Skip to first unread message

xgr...@gmail.com

unread,
Dec 10, 2015, 8:12:34 AM12/10/15
to qjsonrpc-development
Hello,

I'm wondering if it would be possible to somehow support the OPTIONS http verb for purposes of interoperability between Qt-clients and the browser. Typically, browsers implement some kind of cross-site origin restriction as a part of their sandboxing of third-party requests, and for a website to communicate with such a service, it must support the OPTIONS verb used in pre-flight requests.

While I haven't started putting the patch together, has something like this been tried before? Would it be something worth submitting upstream?

Thanks for taking the time.
Faiz

Matt Broadstone

unread,
Dec 10, 2015, 8:25:07 AM12/10/15
to qjsonrpc-development, xgr...@gmail.com
Hi Faiz,
No nothing like this has been attempted before, and your patches would be most welcome! Please remember to include some tests if you would.

Thank you,
Matt 
Reply all
Reply to author
Forward
0 new messages