W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2014

Re: XMLHttpRequest. Support for "OPTIONS *" method.

From: Mark Nottingham <mnot@mnot.net>
Date: Fri, 5 Sep 2014 10:26:22 +0300
Cc: public-webapps@w3.org, annevk@annevk.nl
Message-Id: <9DDC743D-C625-4F53-AF06-333D803C43EF@mnot.net>
To: Валерий Котов <kotov.valery@gmail.com>
This is the most up-to-date reference, btw:

On 4 Sep 2014, at 9:32 pm, Валерий Котов <kotov.valery@gmail.com> wrote:

> Greetings everybody!
> My name is Valery. I'm currently working on adding support for "OPTION" http request method for XMLHttpRequest class inside Qt framework. 
> According to RFC (http://tools.ietf.org/html/rfc2616#page-52) request uri can contian asterisk ("*"). Please see quotation from RFC below.
> "If the Request-URI is an asterisk ("*"), the OPTIONS request is intended to apply to the server in general rather than to a specific resource."
> Normally, to send http request the code should be like the following.
> var req = new XMLHttpRequest();
> req.open("OPTIONS", url);
> req.send(null);
> I had a look at http://xhr.spec.whatwg.org/ and http://www.w3.org/TR/XMLHttpRequest/ documents. Unfortunately, I can't find any mention about sending "OPTIONS *" request by using XMLHttpRequest class.
> Could you please tell if it is possible to send "OPTIONS *" http request by using XMLHttpRequest class? Could you please tell which syntax should be used to send "OPTIONS *" http request?
> Thank you for your support!
> -- 
> Sincerely yours, 
> Valery Kotov

Mark Nottingham   http://www.mnot.net/
Received on Friday, 5 September 2014 07:26:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC