fixed get_mimetype
Merge branch 'release/4.1.17'