Object reference
URI
The URI object, its operations, examples and notes.
Object description
Represents a URI using RFC 3986 semantics by default. It can parse, inspect, transform, resolve, normalise, and serialise URI values, including their query parameters.
Availability: ZPE 1.14.11 is the first version to support the URI object.
URI semantics
URI transformations are immutable: methods such as with_path(), resolve(), and normalize() return a new URI object and leave the original unchanged. Query parameters are decoded according to RFC 3986 by default, so a plus sign remains a literal plus sign.
Use rfc2396() for legacy form-style query decoding, or rfc3986() to explicitly return to the default RFC 3986 behaviour.