ironic.api.app.
IronicCORS
(application, *args, **kwargs)[source]¶Bases: oslo_middleware.cors.CORS
Ironic-specific CORS class
We’re adding the Ironic-specific version headers to the list of simple headers in order that a request bearing those headers might be accepted by the Ironic REST API.
simple_headers
= ['Accept', 'Accept-Language', 'Content-Type', 'Cache-Control', 'Content-Language', 'Expires', 'Last-Modified', 'Pragma', 'X-Auth-Token', 'X-OpenStack-Ironic-API-Maximum-Version', 'X-OpenStack-Ironic-API-Minimum-Version', 'X-OpenStack-Ironic-API-Version']¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.