Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows. The base class can be enhanced with functionality like add/delete/modification of http headers and support for limiting size/connection etc. WWW: https://docs.openstack.org/oslo.middleware/latest/ WWW: https://github.com/openstack/oslo.middleware