ServerResponse.headers
Property Description |
The server response headers. For more information, see HTTPS Header Information. |
Type |
Object (read-only) Note that If multiple values are assigned to one header name, the values are returned as an array. For example:
|
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Since |
2015.2 |
Errors
Error Code |
Thrown If |
---|---|
|
You attempted to edit this property. This property is read-only. |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/https Module Script Samples.
// Add additional code
...
log.debug({
title: "Server Response Headers",
details: serverResponse.headers
});
...
// Add additional code