module documentation
Undocumented
Class |
|
A ``Resource`` that can do URL routing. |
Class |
|
Raised if one or more string parts of the URL could not be decoded. |
Function | ensure |
Coerces a value which is either a str or bytes to a bytes. If ``v`` is a str object it is encoded as utf-8. |
Function | extract |
Extracts and decodes URI parts from request. |
Variable |
|
Undocumented |
Class | _ |
A standin for a Resource. |
Extracts and decodes URI parts from request.
All strings must be UTF8-decodable.
Parameters | |
request:IRequest | A Twisted Web request. |
Returns | |
Tuple[ | tuple of the URL scheme, the server name, the server port, the path info and the script name. |
Raises | |
URLDecodeError | If one of the parts could not be decoded as UTF-8. |