glance.api.middleware.gzip module

glance.api.middleware.gzip module

Use gzip compression if the client accepts it.

class glance.api.middleware.gzip.GzipMiddleware(app)[source]

Bases: glance.common.wsgi.Middleware

process_response(response)[source]

Do whatever you’d like to the response.

re_zip = <_sre.SRE_Pattern object>
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.