boost::urls::origin_form_rule

Rule for origin-form

Synopsis

Declared in header <boost/url/rfc/origin_form_rule.hpp>

constexpr
origin_form_rule_t const origin_form_rule = {};

Description

This appears in the HTTP/1 request-line grammar.

using value_type = url_view;

Rules are used with the function

system::result< url_view > rv = grammar::parse( "/index.htm?layout=mobile", origin_form_rule );
origin-form    = absolute-path [ "?" query ]

absolute-path = 1*( "/" segment )