On Mon Jul 31 08:01:42 2023 +0000, Rémi Bernon wrote:
This doesn't seem to work with a file:// url, I've opened https://gitlab.winehq.org/winehq/tools/-/merge_requests/64 to have a mp3 file with an incorrect extension to test it with.
Actually I'm not even sure this is very useful. The scheme resolver also sets the `MF_BYTESTREAM_CONTENT_TYPE` attributes on Windows, which will be enough to not require `MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE`.
On Wine we will miss the content type until we have a better implementation of http scheme handlers with access to the response headers.