上传文件时 ContentType 浏览器差异 上传图片时,ie会把 jpg、jpeg翻译成image/pjpeg,png翻译成image/x-png 。 火狐、chrome则很标准:jpg、jpeg翻译成image/jpeg,png翻译成image/png。