Skip to content

tests: Add 'application-x-qemu-disk' as valid mimetype for qcow2 disk images

Some mirrors return application-x-qemu-disk content-type for qcow2 images.

$ curl --head --location https://mirrors.xtom.hk/fedora/releases/40/Cloud/aarch64/images/Fedora-Cloud-Base-Generic.aarch64-40-1.14.qcow2
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 26 Apr 2024 11:27:22 GMT
Content-Type: application-x-qemu-disk
Content-Length: 408289280
Last-Modified: Sun, 14 Apr 2024 22:59:56 GMT
Connection: keep-alive
ETag: "661c5fec-18560000"
Alt-Svc: h3=":443"; ma=86400
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Accept-Ranges: bytes

Signed-off-by: sid sidtosh4@gmail.com

Merge request reports