在 Content-type: text/plain 文档中,有没有办法控制文档的页面标题(即浏览器标题栏显示的标题)?
显然没有办法从内容上控制这一点,但基本上和<title>HTML中的标签效果相当。
<title>
我希望会有一个 HTTP 服务器响应,类似于Content-type: text/plain控制可能影响标题的内容标题。例如Content-Description:,甚至X-可能是浏览器特定的命令。我希望的是Content-Title:(我不认为它不存在)
Content-type: text/plain
Content-Description:
X-
Content-Title:
content-type http http-headers
content-type ×1
http ×1
http-headers ×1