Library for parsing and constructing URI objects.Accessors for the URI type.
Functional updaters - returns a new uri identical tou
with only the specified field changed.Parses a string with a default scheme and returns a new URI
object. If the string does not begin with a scheme it is take to
be a simple path URI with the default scheme. This is a
lightweight permissive parser.Parses a string and returns a new URI object. If the string does
not have a scheme, returns false.Convert a URI object to a string. Returns #f if the uri has no scheme.Returns true iff the given URI string has a scheme.
Return the URI encoded version of the string str
,
using hex escapes as needed and replacing spaces with "+"
iff the optional argument plus?
is true.
Decodes any URI hex escapes in the given string, and
translates any pluses ("+") to space iff the optional
argument plus?
is true.
Parses the query part of a URI as a delimited list of
URI encoded VAR=VALUE
pairs, decodes them and
returns the result as an alist.
The reverse of the above, formats the alist as a URI
query string.Returns a new URI from path
, a string or URI object, as
would be interpreted from as a reference from uri
. Thus if
any components of path
are missing, or if path
is a
raw path, it is taken relative to uri
.