Rule for origin‐form
Synopsis
inline constexpr /* implementation-defined */ origin_form_rule = {};
Description
This appears in the HTTP/1 request‐line grammar.
Value Type
using value_type = url_view;
Example
Rules are used with the function grammar::parse
.
system::result< url_view > rv = grammar::parse( "/index.htm?layout=mobile", origin_form_rule );
BNF
origin-form = absolute-path [ "?" query ]
absolute-path = 1*( "/" segment )
See Also
Created with MrDocs