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

Thiago Macieira thiago.macieira at intel.com
Sun Sep 7 20:16:50 CEST 2014


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




More information about the Development mailing list