Edit this page

up.Response up.Response.prototype.header(name)
Class method

Returns the HTTP header value with the given name.

The search for the header is case-insensitive.

Returns undefined if the given header name was not included in the response.

Parameters

name string

Return value

stringorundefined

The value of the header.

This website uses cookies to improve usability and analyze traffic.
I accept or learn more