]> git.proxmox.com Git - pve-http-server.git/commit
fix #4344: http-server: ignore unused multipart headers
authorJohn Hollowell <jhollowe@johnhollowell.com>
Fri, 18 Nov 2022 01:39:10 +0000 (01:39 +0000)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 6 Mar 2023 11:54:09 +0000 (12:54 +0100)
commit3e3faddb4a3792557351f1a6e9f2685e4713eb24
treeef7afd7eb005ef1167e13f2adc1f1dadb417d94d
parent44791210d73f0d26efbe1de21289f837a7ffeefd
fix #4344: http-server: ignore unused multipart headers

In commit 0fbcbc2 ("fix #3990: multipart upload: rework to fix
uploading small files") a breaking change was added which now
requires the file's multipart part to have a `Content-Type` even
though the content type is never used. It is just included to consume
those bytes so phase 2 (dumping the file contents into the file) can
continue.

Avoid this overly strict and unused requirement.

Signed-off-by: John Hollowell <jhollowe@johnhollowell.com>
 [ T: resolve merge conflict, add telling commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/APIServer/AnyEvent.pm