spoolman: Add spoolman response headers to proxy results

Added the response headers to the V2 response of the proxy implementation as a new field named "response_headers".

Signed-off-by: Patrick Schmidt <ps.patti1998@gmail.com>
This commit is contained in:
Patrick Schmidt authored and Eric Callahan committed 2024-04-24 13:51:23 -04:00
1 parent b631ec44bb
commit c857e1a99f
1 file changed
+1
+1
View File
@@ -373,6 +373,7 @@ class SpoolManager:
else:
return {
"response": response.json(),
"response_headers": dict(response.headers.items()),
"error": None
}