Bases: object
WSGI application for the proxy server.
Get the controller to handle a request.
Parameters: | path – path from request |
---|---|
Returns: | tuple of (controller class, path dictionary) |
Raises : | ValueError (thrown by split_path) if given invalid path |
Entry point for proxy server. Should return a WSGI-style callable (such as swob.Response).
Parameters: | req – swob.Request object |
---|
Sorts nodes in-place (and returns the sorted list) according to the configured strategy. The default “sorting” is to randomly shuffle the nodes. If the “timing” strategy is chosen, the nodes are sorted according to the stored timing data.
paste.deploy app factory for creating WSGI proxy apps.