# glance.api.middleware.version_negotiation module

A filter middleware that inspects the requested URI for a version string and/or Accept headers and attempts to negotiate an API controller to return

class glance.api.middleware.version_negotiation.VersionNegotiationFilter(app)

  Bases: `glance.common.wsgi.Middleware`

  process_request(req)

    Try to find a version first in the accept header, then the URL

this page last updated: 2026-03-19 02:17:34

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

found an error? report a bug