# glance.api.middleware.gzip module

Use gzip compression if the client accepts it.

class glance.api.middleware.gzip.GzipMiddleware(app)

  Bases: `Middleware`

  process_response(response)

    Do whatever you’d like to the response.

  re_zip = re.compile('\\bgzip\\b')

this page last updated: 2026-03-18 20:42:57

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