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

Richard Moore rich at kde.org
Thu Sep 4 11:44:37 CEST 2014


On 4 September 2014 10:29, Allan Sandfeld Jensen <kde at carewolf.com> wrote:

> On Thursday 04 September 2014, Richard Moore wrote:
> > On 3 September 2014 20:25, Thiago Macieira <thiago.macieira at intel.com>
> >
> > wrote:
> > > > > How is it represented in HTML5?
> > > > > Just do it the same way.
> > > >
> > > > I'm a little unsure that I understood. Could you please clarify what
> > > > did you mean by "represented in HTML5"?
> > >
> > > XMLHttpRequests have existed in JavaScript and HTML5 for years. How do
> > > they do
> > > this?
> >
> > I actually looked at the specs (both level 1 and level 2) the other day
> and
> > OPTIONS * isn't mentioned at all.
> >
> At least in WebKit, it is an allowed method for open(), eg.
> xhr.open('OPTIONS',..)
>
>
Yeah, the spec mentions OPTIONS, just not the special case of sending an
OPTIONS * request.

Rich.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140904/c6a6d790/attachment.html>


More information about the Development mailing list