Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Do content-sniffing for HTML #566
referenced this issue
Oct 20, 2015
Fair enough - though it still would need to set some kind of mimetype for them, and I'm not sure if it's a good idea to set
As a workaround, I think you can write a wrapper script which renames the file and launches qutebrowser on it, and then launch that from mutt.
I wouldn't do this. I would always look at the Content-Type response header because this is the correct way to do things.
Another reason to not do this: Chromium disabled mime sniffing for local files (without .html extension) for security reasons: https://bugs.chromium.org/p/chromium/issues/detail?id=777737