Scoped GlideServletResponse - setHeader(String key, String value)

Sets a response header to the specified value.

Table 1. Parameters
Name Type Description
key String Specifies the header.
value String The value to be assigned to the header. If the header exists, it is over written.
Table 2. Returns
Type Description
void
g_response.setHeader("host", "demonightlyus.service-now.com");