[#boost-urls-origin_form_rule] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::origin_form_rule :relfileprefix: ../../ :mrdocs: Rule for origin‐form == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/rfc/origin_form_rule.hpp#L65[boost/url/rfc/origin_form_rule.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- inline constexpr /* implementation-defined */ origin_form_rule = {}; ---- == Description This appears in the HTTP/1 request‐line grammar. == Value Type [,cpp] ---- using value_type = url_view; ---- == Example Rules are used with the function xref:boost/urls/grammar/parse-09.adoc[`grammar::parse`]. [,cpp] ---- system::result< url_view > rv = grammar::parse( "/index.htm?layout=mobile", origin_form_rule ); ---- == BNF [,cpp] ---- origin-form = absolute-path [ "?" query ] absolute-path = 1*( "/" segment ) ---- == Specification * https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.1[] == See Also xref:boost/urls/grammar/parse-09.adoc[`grammar::parse`], xref:boost/urls/parse_origin_form.adoc[`parse_origin_form`], xref:boost/urls/url_view.adoc[`url_view`]. [.small]#Created with https://www.mrdocs.com[MrDocs]#