Skip to main content
Version: 15.3.0

HTTPResponse.headers() method

Signature:

class HTTPResponse {
headers(): Record<string, string>;
}

Returns:

Record<string, string>

An object with HTTP headers associated with the response. All header names are lower-case.