The previous attempt at fixing this failed, and so do something a bit more evil. We'll remove this later in 2.0 once util goes away and everything is just implemented under the falcon package directly.
17 lines
518 B
Python
17 lines
518 B
Python
"""URI utilities.
|
|
|
|
This module provides utility functions to parse, encode, decode, and
|
|
otherwise manipulate a URI. These functions are not available directly
|
|
in the `falcon` module, and so must be explicitly imported::
|
|
|
|
from falcon import uri
|
|
|
|
name, port = uri.parse_host('example.org:8080')
|
|
"""
|
|
|
|
# NOTE(kgriffs): This module exists to make "import falcon.uri"
|
|
# work. Eventually we will remove the util module and flatten the
|
|
# falcon namespace, but in the meantime...
|
|
|
|
from falcon.util.uri import * # NOQA
|