Modules

filter

 

Objects/Functions

module (N/https)

SuiteScript 2.0

ClientResponse.headers

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

N/https Module
ClientResponse.headers
Property Description: The response header or headers. For more information, see HTTPS Header Information.
Type: Object (read-only)
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/https Module
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 = https.get({
url: 'https://www.testwebsite.com'
});
log.debug({
title: 'Client Response Header',
details: response.headers
});
//...
// Add additional code

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