[pve-devel] [RFC PATCH http-server 1/2] add error message into http body
Dominik Csapak
d.csapak at proxmox.com
Mon Jan 27 13:44:34 CET 2025
any new input on this?
I have thought about blindly adding 'plain/text' to it or do an 'encode_json("$msg")' and adding
'application/json', but both options don't seem very sensible to me, as they're altering
the content type for all errors the api returns. This might trip up some clients.
(whereas before we did not set it so the client was free to guess or ignore the body content,
even if it was set)
More information about the pve-devel
mailing list