Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Request.getHeaders

Request.getHeaders() -> map

Description

Return a Map of all HTTP request headers. Keys are normalized to lower case.

Request.getHeaders()

/* Example:
{
    accept: 'text/html,application/xhtml+xmlq=0.9',
    accept-encoding: 'gzip, deflate, br',
    cache-control: 'max-age=0',
    connection: 'keep-alive',
    upgrade-insecure-requests: '1',
}
*/

The following headers are automatically removed:

See Also