response.addTrailers(headers)
headers
<Object>
此方法向响应添加 HTTP 尾随标头(标头,但位于消息末尾)。
¥This method adds HTTP trailing headers (a header but at the end of the message) to the response.
尝试设置包含无效字符的标头字段名称或值将导致抛出 TypeError
。
¥Attempting to set a header field name or value that contains invalid characters
will result in a TypeError
being thrown.