outgoingMessage.getHeader(name)
name
<string> 标头名称- 返回 <string> | <undefined>
获取具有给定名称的 HTTP 标头的值。
如果未设置该标头,则返回值为 undefined
。
name
<string> Name of header- Returns <string> | <undefined>
Gets the value of the HTTP header with the given name. If that header is not
set, the returned value will be undefined
.