The nova.api.compute_req_id
Module¶
Middleware that ensures x-compute-request-id
Using this middleware provides a convenient way to attach the x-compute-request-id to only v2 responses. Previously, this header was set in api/openstack/wsgi.py
Responses for v2.1 API are taken care of by the request_id middleware provided in oslo.
-
class
ComputeReqIdMiddleware
(application, conf=None)¶ Bases:
oslo_middleware.base.Middleware