Method Standards.URI()->reparse_uri()
- Method
reparse_uri
voidreparse_uri()
voidreparse_uri(URIbase_uri)
voidreparse_uri(stringbase_uri)- Description
Reparse the URI with respect to a new base URI. If no base_uri was supplied, the old base_uri is thrown away. The resolving is performed according to the guidelines outlined by RFC 2396, Uniform Resource Identifiers (URI): Generic Syntax.
- Parameter
base_uri Set the new base URI to this.
- Throws
An exception is thrown if the
uriis a relative URI or only a fragment, and missing abase_uri.