Browse Source

Merge "Return request-id to APIs that don't respond with a body" into stable/rocky

Zuul 2 months ago
parent
commit
a4fae269ab

+ 1
- 1
manila/api/openstack/wsgi.py View File

@@ -866,7 +866,7 @@ class Resource(wsgi.Application):
866 866
             for hdr, val in response.headers.items():
867 867
                 val = utils.convert_str(val)
868 868
                 response.headers[hdr] = val
869
-
869
+            _set_request_id_header(request, response.headers)
870 870
             if not request.api_version_request.is_null():
871 871
                 response.headers[API_VERSION_REQUEST_HEADER] = (
872 872
                     request.api_version_request.get_string())

+ 4
- 0
releasenotes/notes/bug-1815532-supply-request-id-in-all-apis-74419bc1b1feea1e.yaml View File

@@ -0,0 +1,4 @@
1
+---
2
+fixes:
3
+  - APIs that were not returning a request ID ('x-compute-request-id') in the
4
+    response headers have been fixed.

Loading…
Cancel
Save