Content-disposition 头部告诉浏览器该电子表格应该被存储为文件,并推荐一个名称,本例中是 pivot.xml。
The Content-disposition header tells the browser that this spreadsheet should be stored as a file and recommends a name, in this case pivot.xml.
Content - type头部告诉浏览器,脚本在导出一个Excel电子表格。
The Content-type header tells the browser that the script is exporting an Excel spreadsheet.
应用推荐