[Development] QTBUG-35892. QML XMLHttpRequest does not support the OPTIONS method.

Валерий Котов kotov.valery at gmail.com
Tue Sep 9 17:24:58 CEST 2014


2014-09-07 21:16 GMT+03:00 Thiago Macieira <thiago.macieira at intel.com>:

> On Sunday 07 September 2014 11:13:59 Thiago Macieira wrote:
> > On Sunday 07 September 2014 09:05:43 Thiago Macieira wrote:
> > > On Sunday 07 September 2014 15:22:09 Валерий Котов wrote:
> > > > If yes, how should it be performed? It is possible to send "OPTIONS"
> > > > request by using sendCustomRequest. But how should user perform
> "OPTIONS
> > > > *"
> > > > request? Should it depend on url?
> > >
> > > I recommend you send OPTIONS * if the URL has no path.
> >
> > Or not... the problem is what will happen with proxies.
> >
> > I don't have a good proxy to test with. When I tried the Intel proxy with
> > the OPTIONS command, it sent a GET command to the server.
>
> Oops, bad testing. It sent "OPTIONS /" to the server in both tests cases
> (with
> and without the slash).
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>

I realize that we had this discussion before. But I have to ask. =)
Does not it make sense to add method and type in Operations enum for
options in case we need some special treatment for "OPTIONS" verb?

-- 

Valery
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140909/3f009861/attachment.html>


More information about the Development mailing list