From a2a1883e04aaa923b385cbbc496395ed5bf1dc17 Mon Sep 17 00:00:00 2001
From: tmanevik This module provides utility functions for working with URIs,
- according to RFC 3986.
Type definitions that are used more than once in this module:
-
+ Type definitions that are related to URI:
-For more information about URI, see RFC 3986.
- -
-
+
+Syntax according to the URI definition in RFC 3986, + for example, "http://www.erlang.org/"
Example: http, https
Represents a file path or directory path
For more information about URI, see
+
Decode a possibly hex encoded URI.
+Decodes a possibly hexadecimal encoded URI.
Hex encode an URI.
+Encodes a hexadecimal encoded URI.
This function is used to parse an URI. If no scheme defaults - are provided, the value of +
Parses a URI. If no scheme defaults
+ are provided, the value of the
Note that when parsing an URI with an unknown scheme (that is, - a scheme not found in the scheme defaults) a port number must be - provided or else the parsing will fail.
+When parsing a URI with an unknown scheme (that is, + a scheme not found in the scheme defaults), a port number must be + provided, otherwise the parsing fails.
-If the fragment option is true, the URI fragment will be returned as - part of the parsing result, otherwise it is completely ignored.
+If the fragment option is
This function provides a list of the scheme and their default - port numbers currently supported (by default) by this utility.
+Provides a list of the scheme and their default + port numbers supported (by default) by this utility.