res.get(field)
返回 field
指定的 HTTP 响应标头。匹配不区分大小写。
Returns the HTTP response header specified by field
. The match is case-insensitive.
res.get('Content-Type')
// => "text/plain"
返回 field
指定的 HTTP 响应标头。匹配不区分大小写。
Returns the HTTP response header specified by field
. The match is case-insensitive.
res.get('Content-Type')
// => "text/plain"