UriParser.parsePathRootlessOrNoScheme
string parsePathRootlessOrNoScheme(bool hasScheme) @safeParse a rootless path in the appropriate mode for the URI context.
Parameters
hasScheme | Whether a scheme was present in the parsed reference. |
Returns
The parsed path string.
Throws
UriParseException in strict mode when path-noscheme constraints are violated.