glance.api.middleware.cache_manage module

Image Cache Management API

class glance.api.middleware.cache_manage.CacheManageFilter(app)[source]

Bases: Middleware

process_request(request)[source]

Called on each request.

If this returns None, the next application down the stack will be executed. If it returns a response then that response will be returned and execution will stop here.