This module contains functions for parsing and handling RFC 3986 compliant URIs.
+
This module contains functions for parsing and handling URIs (RFC 3986) and
+ form-urlencoded query strings (RFC 1866).
A URI is an identifier consisting of a sequence of characters matching the syntax
rule named URI in RFC 3986.
The generic URI syntax consists of a hierarchical sequence of components referred
@@ -109,7 +110,7 @@
QueryList, a list of unescaped key-value pairs.
Media type application/x-www-form-urlencoded is defined in section
8.2.1 of RFC 1866 (HTML 2.0). Reserved and unsafe characters, as
- defined by RFC 1738 (Uniform Resource Locators), are procent-encoded.
+ defined by RFC 1738 (Uniform Resource Locators), are percent-encoded.
Example:
@@ -125,8 +126,7 @@
Same as compose_query/1 but with an additional
Options parameter, that controls the type of separator used
- between key-value pairs. There are two supported separator types: amp ()
- and semicolon (;).
+ between key-value pairs. There are three supported separator types: amp (), escaped_amp () and semicolon (;). If the parameter Options is empty, separator takes the default value (escaped_amp).