问题描述
我无法使用 asp.net 处理程序获取我的 pdf 查看器的文件名和页面标题。
我已经为 HTTPS 响应添加了所需的标头,但仍然没有运气。
HttpContext.Current.response.addheader("content-disposition","inline; filename=\"" + fileName + "\"");
HttpContext.Current.Response.ContentType = "application/pdf";
响应头如下
我期待以下
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)