name <string>
name
返回:<string>
¥Returns: <string>
读出已排队但未发送到客户端的标头。该名称不区分大小写。
¥Reads out a header that has already been queued but not sent to the client. The name is case-insensitive.
const contentType = response.getHeader('content-type'); 拷贝
const contentType = response.getHeader('content-type');