擅长:python、mysql、java
<p>文件内容表明它是一个.xlsx文件,而不是.xls(PK是ZIP存档的签名,.xlsx文件是XML文件的ZIP文件,如这里所述<a href="https://en.wikipedia.org/wiki/Microsoft_Excel#File_formats" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Microsoft_Excel#File_formats</a>)。所以内容类型应该是
<code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</code></p>
<p>(见<a href="https://stackoverflow.com/questions/2937465/what-is-correct-content-type-for-excel-files">What is correct content-type for excel files?</a>)</p>