|
Network.URL | Portability | Portable | Stability | Provisional | Maintainer | Iavor S. Diatchki |
|
|
|
Description |
Provides a convenient way for working with HTTP URLs.
Based on RFC 1738.
See also: RFC 3986
|
|
Synopsis |
|
|
|
Documentation |
|
|
|
|
|
Different types of URL.
| Constructors | Absolute Host | Has a host
| HostRelative | Does not have a host
| PathRelative | Relative to another URL
|
|
|
|
|
Contains information about the connection to the host.
| Constructors | |
|
|
|
The type of known protocols.
| Constructors | |
|
|
|
Does this host use a "secure" protocol (e.g., https).
|
|
|
Is this a "secure" protocol. This works only for known protocols,
for RawProt values we return False.
|
|
|
Convert a URL to a list of "bytes".
We represent non-ASCII characters using UTF8.
|
|
|
Convert a list of "bytes" to a URL.
|
|
|
Convert the host part of a URL to a list of "bytes".
|
|
|
Add a (key,value) parameter to a URL.
|
|
|
Decode a list of "bytes" to a string.
Performs % and UTF8 decoding.
|
|
|
Convert a string to bytes by escaping the characters that
do not satisfy the input predicate. The first argument specifies
if we should replace spaces with +.
|
|
|
|
|
Characters that may appear in the textual representation of a URL
|
|
|
|
|
Characters that can appear non % encoded in the path part of the URL
|
|
|
|
|
|
Produced by Haddock version 2.6.0 |