Improve our content type detection
The following discussion from !867 (merged) should be addressed:
-
@bochecha started a discussion: I'm not a big fan of having our own map like this. I understand why you did it, and it's probably fine for this pull request.
But eventually, we should really do better.
Edited by Mathieu Bridon