Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.92.0.
Rule for origin-form.
Defined in header <boost/url/rfc/origin_form_rule.hpp>
constexpr implementation-defined origin_form_rule;
This appears in the HTTP/1 request-line grammar.
using value_type = url_view;
Rules are used with the function grammar::parse.
system::result< url_view > rv = grammar::parse( "/index.htm?layout=mobile" , origin_form_rule );
origin-form = absolute-path [ "?" query ] absolute-path = 1*( "/" segment )
grammar::parse,
parse_origin_form,
url_view.
Convenience header <boost/url.hpp>