UriParser.parsePathRootlessOrNoScheme

string parsePathRootlessOrNoScheme(bool hasScheme) @safe

Parse a rootless path in the appropriate mode for the URI context.

Parameters

hasSchemeWhether a scheme was present in the parsed reference.

Returns

The parsed path string.

Throws

UriParseException in strict mode when path-noscheme constraints are violated.