Response.ContentType = "application/x-msdownload ; Charset=utf-8"; Response.ContentType ="application/octet-stream" ;
Response.ContentType ="application/x-msdownload"
设置文件下载类型
本文介绍如何通过设置 HTTP 响应头 ContentType 来指定文件的下载类型。主要涉及 application/x-msdownload 和 application/octet-stream 类型的应用场景。
Response.ContentType = "application/x-msdownload ; Charset=utf-8"; Response.ContentType ="application/octet-stream" ;
Response.ContentType ="application/x-msdownload"
7450

被折叠的 条评论
为什么被折叠?