class documentation
Class Method fromBytes Parse the given URI into a URI.
Method __init__ No summary
Method toBytes Assemble the individual parts of the URI into a fully formed URI.
Instance Variable fragment Undocumented
Instance Variable host Undocumented
Instance Variable netloc Undocumented
Instance Variable params Undocumented
Instance Variable path Undocumented
Instance Variable port Undocumented
Instance Variable query Undocumented
Instance Variable scheme Undocumented
Property originForm The absolute URI path including URI parameters, query string and fragment identifier.
@classmethod
def fromBytes(cls, uri, defaultPort=None): (source)

Parse the given URI into a URI.

Parameters
uri:bytesURI to parse.
defaultPort:int or NoneAn alternate value to use as the port if the URI does not include one.
Returns
URIParsed URI instance.
def __init__(self, scheme, netloc, host, port, path, params, query, fragment): (source)
Parameters
scheme:bytesURI scheme specifier.
netloc:bytesNetwork location component.
host:bytesHost name. For IPv6 address literals the brackets are stripped.
port:intPort number.
path:bytesHierarchical path.
params:bytesParameters for last path segment.
query:bytesQuery string.
fragment:bytesFragment identifier.
def toBytes(self): (source)

Assemble the individual parts of the URI into a fully formed URI.

Returns
bytesA fully formed URI.
fragment = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

The absolute URI path including URI parameters, query string and fragment identifier.

See Also
https://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21#section-5.3