【发布时间】:2011-09-09 07:05:42
【问题描述】:
我正在从我的 ASP.NET 应用程序发送带有下面标题的 pdf 文件,以在浏览器中显示 pdf 文件。在 IE 和 FF 上一切正常,但在 Chrome 上却不行。我得到空白网页,没有显示 PDF 文件。这是已知问题吗?
Content-Disposition: inline; filename="myfile.pdf"
【问题讨论】:
-
你设置
Content-type: application/pdf了吗?
标签: asp.net google-chrome