]> git.proxmox.com Git - pve-manager.git/commit
api: query_url_metadata: optionally detect compression
authorPhilipp Hufnagl <p.hufnagl@proxmox.com>
Thu, 21 Sep 2023 13:09:16 +0000 (15:09 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 26 Sep 2023 07:28:09 +0000 (09:28 +0200)
commitd61728e289c82c7ce35a03b5b6b3da45ae177c5c
treef65d285933e02a96e55ba283801640268960ce5f
parentacaa1e40d6b131f39db395bc763f164cfc94172b
api: query_url_metadata: optionally detect compression

extend the query_url_metadata endpoint with the option to detect and return
used compression algorithms, if supported by PVE. this will be used to support
decompression as part of the download flow for certain file types (ISO files
for now).

Signed-off-by: Philipp Hufnagl <p.hufnagl@proxmox.com>
Slightly reworded commit title/message
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Nodes.pm