2.2.1.3.1 Request-URI Details

The Request-URI MUST be a valid Uniform Resource Identifier (URI), as specified in [RFC3986].

The following Augmented Backus-Naur Form (ABNF), as specified in [RFC5234], specifies the syntax of the Request-URI.

 Request-URI     = (path) "?" (query-component)
 path            = (base) "/_layouts" (opt_ver) "/FormServerDetector.aspx"
 opt_ver         = "" / "/15"
 base            = scheme ":" hier-part

The base ABNF rule identifies the site on the server to which the request was made. The ABNF for scheme and hier-part is specified in [RFC3986] section 3.3. The query component in the Request-URI is specified in the following section. The form server SHOULD support the value of "/15" opt_ver<1> but MAY respond with HTTP Status-Code 404<2>.