Files
deb-python-falcon/falcon/uri.py
Kurt Griffiths d257e14413 fix(util): Fix falcon.uri import (#904)
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.
2016-09-20 08:49:00 -06:00

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