HTTPRequest.headers() 方法
¥HTTPRequest.headers() method
具有与请求关联的 HTTP 标头的对象。所有标头名称均为小写。
¥An object with HTTP headers associated with the request. All header names are lower-case.
签名
¥Signature
class HTTPRequest {
abstract headers(): Record<string, string>;
}
Returns:
Record<string, string>