Modules

filter

 

Objects/Functions

module (N/http)

SuiteScript 2.0

ClientResponse.headers

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=ClientResponse.headers for more information.

N/http Module
ClientResponse.headers
Property Description: The response header or headers. For more information, see HTTP Header Information.
Type: Object (read-only)
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/http Module
Parent Object: http.ClientResponse
Sibling Object Members: ClientResponse Object Members
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=ClientResponse.headers

Example:

// Code Example 1
// Add additional code
//...
var response = http.get({
url: 'http://www.google.com'
});
log.debug({
title: 'Client Response Header',
details: response.headers
});
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4314733103.html