What does this Content-Disposition header mean?
在开发自动下载文件的应用程序时,我遇到了以下URL,该URL是具有以下content-disposition标头的文件:
Content-Disposition: attachment; filename="setup.exe"; filename*=utf-8''hdplayer_setup.exe
有人知道此标头的值是什么意思,尤其是第二个
Chrome,Firefox和Safari都将其解析为
在Content-Disposition规范中进行了描述; 参见http://greenbytes.de/tech/webdav/rfc6266.html。
(要查找相关规范,您可以使用IANA标头字段注册表:http://www.iana.org/assignments/message-headers/message-headers.xhtml)