Bases: keystone.common.wsgi.Middleware
A trivial filter that checks for a pre-defined admin token.
Sets ‘is_admin’ to true in the context, expected to be checked by methods that are admin-only.
Bases: keystone.common.wsgi.Middleware
Middleware to allow method arguments to be passed as serialized JSON.
Accepting arguments as JSON is useful for accepting data that may be more complex than simple primitives.
In this case we accept it as urlencoded data under the key ‘json’ as in json=<urlencoded_json> but this could be extended to accept raw JSON in the POST body.
Filters out the parameters self, context and anything beginning with an underscore.
Bases: keystone.common.wsgi.Middleware
Middleware filter to handle URL normalization.
Normalizes URLs.
Bases: keystone.common.wsgi.Middleware
Middleware to allow method arguments to be passed as POST parameters.
Filters out the parameters self, context and anything beginning with an underscore.
Bases: keystone.common.wsgi.Middleware
Limit the size of an incoming request.
Bases: keystone.common.wsgi.Middleware
Bases: keystone.common.wsgi.Middleware
De/serializes XML to/from JSON.
Transform the request from XML to JSON.
Transform the response from JSON to XML.