[pve-devel] applied: [PATCH RESEND http-server 06/10] allow 'download' to be passed from API handler

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Apr 21 17:43:11 CEST 2021


On 21.04.21 13:15, Stefan Reiter wrote:
> PVE::HTTPServer in pve-manager wraps the API return value in a 'data'
> element, look for a 'download' element there too to allow an API call to
> instruct the HTTP server to return a file via path or filehandle.
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
>  PVE/APIServer/AnyEvent.pm | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list