everest.url
URL <-> resource conversion.
-
class everest.url.ResourceUrlConverter(request)[source]
Bases: object
Performs URL <-> resource instance conversion.
See http://en.wikipedia.org/wiki/Query_string for information on characters
supported in query strings.
-
__weakref__
list of weak references to the object (if defined)
-
url_to_resource(url)[source]
Converts the given url into a resource.
Parameters: | url (str) – URL to convert |
Returns: | member or collection resource |
- ::note : If the query string in the URL has multiple values for a
- query parameter, the last definition in the query string wins.