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 2024-04-24 17:17:27 +02:00 committed by Eric Callahan
parent b631ec44bb
commit c857e1a99f
1 changed files with 1 additions and 0 deletions

View File

@ -373,6 +373,7 @@ class SpoolManager:
else:
return {
"response": response.json(),
"response_headers": dict(response.headers.items()),
"error": None
}