up.Response.prototype.header(name)
Instance method
Returns the HTTP header value with the given name.
The search for the header is case-insensitive.
Returns null or undefined if the given header name was not included in the response.
Parameters
name
required
Type: string
Return value
The value of the header.
Type: string | null | undefined