Am 27.01.25 um 13:44 schrieb Dominik Csapak:
> 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)

Thanks for the clarification, leaving it as is can be fine then.
But maybe add a short comment with rationale from your reply here.



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to