Reverted mime/content-type check to avoid inconsistent behavior on different platforms