[pve-devel] applied-series: [PATCH http-server v2 1/2] add error message into http body

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 28 15:52:35 CET 2025


Am 28.01.25 um 15:41 schrieb Dominik Csapak:
> In our rust client, we can't access the http reason phrases[0], so let's
> put them into the body itself if we don't specify an explicit content.
> 
> our proxmox-client code in rust already uses the body as message if
> there is one [1], so we get that automatically.
> 
> 0: https://github.com/hyperium/http/issues/737
> 1: https://git.proxmox.com/?p=proxmox.git;a=blob;f=proxmox-client/src/client.rs;h=9b078a9820405b22ca54c17ea4da4c586e0649b4;hb=refs/heads/master#l237
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from rfc:
> * add a comment why we don't set the content type
> 
>  src/PVE/APIServer/AnyEvent.pm | 3 +++
>  1 file changed, 3 insertions(+)
> 
>

applied both patches, thanks!




More information about the pve-devel mailing list