<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>http://test.largeq.cn/index.php?action=history&amp;feed=atom&amp;title=Nodejs%2Fhttp%2FIncomingMessage%2Fheaders</id>
	<title>Nodejs/http/IncomingMessage/headers - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://test.largeq.cn/index.php?action=history&amp;feed=atom&amp;title=Nodejs%2Fhttp%2FIncomingMessage%2Fheaders"/>
	<link rel="alternate" type="text/html" href="http://test.largeq.cn/index.php?title=Nodejs/http/IncomingMessage/headers&amp;action=history"/>
	<updated>2026-05-14T00:33:47Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 11.45.14</generator>
	<entry>
		<id>http://test.largeq.cn/index.php?title=Nodejs/http/IncomingMessage/headers&amp;diff=254&amp;oldid=prev</id>
		<title>IVEN：创建页面，内容为“请求或响应的消息头对象。 ==版本历史== * 新增于: v0.1.5 * 被搬运到这里：v10.15.3 ==类型== &lt;Object&gt; ==详情==  消息头的名称和…”</title>
		<link rel="alternate" type="text/html" href="http://test.largeq.cn/index.php?title=Nodejs/http/IncomingMessage/headers&amp;diff=254&amp;oldid=prev"/>
		<updated>2019-05-28T11:35:30Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“请求或响应的消息头对象。 ==版本历史== * 新增于: v0.1.5 * 被搬运到这里：v10.15.3 ==类型== &amp;lt;&lt;a href=&quot;/index.php?title=Object&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Object（页面不存在）&quot;&gt;Object&lt;/a&gt;&amp;gt; ==详情==  消息头的名称和…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;请求或响应的消息头对象。&lt;br /&gt;
==版本历史==&lt;br /&gt;
* 新增于: v0.1.5&lt;br /&gt;
* 被搬运到这里：v10.15.3&lt;br /&gt;
==类型==&lt;br /&gt;
&amp;lt;[[Object]]&amp;gt;&lt;br /&gt;
==详情==&lt;br /&gt;
&lt;br /&gt;
消息头的名称和值的键值对。 消息头的名称都是小写的。&lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
// 打印类似以下：&lt;br /&gt;
//&lt;br /&gt;
// { 'user-agent': 'curl/7.22.0',&lt;br /&gt;
//   host: '127.0.0.1:8000',&lt;br /&gt;
//   accept: '*/*' }&lt;br /&gt;
console.log(request.headers);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
原始消息头中的重复项会按以下方式处理，具体取决于消息头的名称：&lt;br /&gt;
&lt;br /&gt;
* 重复的 age、 authorization、 content-length、 content-type、 etag、 expires、 from、 host、 if-modified-since、 if-unmodified-since、 last-modified、 location、 max-forwards、 proxy-authorization、 referer、 retry-after 或 user-agent 会被丢弃。&lt;br /&gt;
* set-cookie 始终是一个数组。重复项都会添加到数组中。&lt;br /&gt;
* 对于重复的 cookie 消息头，其值会使用与 '; ' 连接到一起。&lt;br /&gt;
* 对于所有其他消息头，其值会使用 ', ' 连接到一起。&lt;/div&gt;</summary>
		<author><name>IVEN</name></author>
		
	</entry>
</feed>