Merge branch 'MEMO-669-improve-mimetype-handling' into 'master'

Memo 669: improve mimetype handling

See merge request !11
4 jobs for 0.6.6 in 5 minutes and 42 seconds (queued for 1 second)
latest