Skip to content

tests: allow application/xhtml+xml as content-type for trees

Pino Toscano requested to merge pinotree/osinfo-db:tests-tree-xhtml into main

One of the Fedora mirrors serves HTML pages (which is what is returned for the root of an installation tree) with the application/xhtml+xml content type; add it to the list of content type for trees, as it is acceptable as another MIME for (X)HTML pages.

$ curl --head -L 'https://ftp.wrz.de/pub/fedora/linux/releases/37/Silverblue/x86_64/os/'
HTTP/1.1 200 OK
Server: nginx/1.22.1
Date: Thu, 27 Jun 2024 05:17:39 GMT
Content-Type: application/xhtml+xml; charset=UTF-8
Content-Length: 5107
Connection: keep-alive

Merge request reports