http.ServerResponse
Object Description |
The response from an HTTP server (for example, Suitelet or RESTlet) to an HTTP request from a server, such as a user event script. |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2015.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/http Module Script Samples.
// Add additional code
...
serverResponse.addHeader({
name: 'Accept-Language',
value: 'en-us',
});
...
// Add additional code