// Adds a header to the response
header 'Cache-Control', 'max-age=84600, public'
header
Purpose
To add a header to the response.
Examples
Description
A method to add headers to the response.
Parameters:
-
headerName
- The header name to add -
headerValue
- The header value to add