ironic.api.middleware package

ironic.api.middleware package

Module contents

service None

Bases: object

Replace error body with something the client can parse.

service None

Bases: keystonemiddleware.auth_token.AuthProtocol

A wrapper on Keystone auth_token middleware.

Does not perform verification of authentication tokens for public routes in the API.

service None

Bases: object

Simplified processing of .json extension.

Previously Ironic API used the “guess_content_type_from_ext” feature. It was never needed, as we never allowed non-JSON content types anyway. Now that it is removed, this middleware strips .json extension for backward compatibility.

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.