- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Fri, 05 Sep 2014 12:28:44 +0200
- To: Валерий Котов <kotov.valery@gmail.com>, public-webapps@w3.org
- CC: annevk@annevk.nl
On 2014-09-04 20:32, Валерий Котов 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 Out of curiosity - do you have a use case where you need to be able to send "OPTIONS *"? Best regards, Julian
Received on Friday, 5 September 2014 10:29:20 UTC