keystone.middleware.core module

keystone.middleware.core module

class keystone.middleware.core.JsonBodyMiddleware(application, conf=None)[source]

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.

Filters out the parameters self, context and anything beginning with an underscore.

process_request(request)[source]
class keystone.middleware.core.NormalizingFilter(application, conf=None)[source]

Bases: keystone.common.wsgi.Middleware

Middleware filter to handle URL normalization.

process_request(request)[source]

Normalize URLs.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.