$response:field[value] $response:field
The field corresponds with HTTP-response header generated by Parser. It can be both assigned and referred to. The value may be a date, a string or a hash with obligatory key value. Note: during output to the browser all HTTP-response headers' names are capitalized (for example: content-type are transformed to Content-Type). [3.4.0]
Example of redirecting a visitor to site's mainpage #works if web-site administrator correctly configured SERVER_NAME environment variable
#usually he/she did
$response:location[http://$env:SERVER_NAME/] Another example of redirecting a visitor to site's mainpage #works regardless of SERVER_NAME
$response:refresh[
$.value[0]
$.url[/]
] Example of assigning header "expires" a value "tomorrow"
$response:expires[^date::now(+1)]