Don't be so strict checking mime type to support Firefox