twisted.web.client.URI(object) class documentationtwisted.web.client
View Source
(View In Hierarchy)
A URI object.
| See Also | https://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21 | |
| Method | __init__ | |
| Class Method | fromBytes | Parse the given URI into a URI. |
| Method | toBytes | Assemble the individual parts of the URI into a fully formed URI. |
| Method | originForm | The absolute URI path including URI parameters, query string and fragment identifier. |
| Parameters | scheme | URI scheme specifier. (type: bytes) |
| netloc | Network location component. (type: bytes) | |
| host | Host name. For IPv6 address literals the brackets are stripped. (type: bytes) | |
| port | Port number. (type: int) | |
| path | Hierarchical path. (type: bytes) | |
| params | Parameters for last path segment. (type: bytes) | |
| query | Query string. (type: bytes) | |
| fragment | Fragment identifier. (type: bytes) |
Assemble the individual parts of the URI into a fully formed URI.
| Returns | A fully formed URI. (type: bytes) | |
The absolute URI path including URI parameters, query string and fragment identifier.
| Returns | The absolute path in original form. (type: bytes) | |
| See Also | https://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21#section-5.3 | |