Edit this page

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

Returns the HTTP request header value with the given name.

Returns undefined if the given header name will not be sent with this request.


For implementation reasons, the search for the header is case-sensitive.


name string

The case-sensitive name.

Return value


The value of the header.

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