The Grails Framework 3.1.4

See the light - agile, industrial strength, rapid web application development made easy

(Quick Reference) # headers ## Purpose Obtains the value of a named header ## Examples Reading a header's value:
    Format? <g:header name="Content-Type" />
Or testing for existence:
    <g:if test="${header(name: 'User-Agent')}">Hello</g:if>
## Description Attributes `name` - The name of the header ## Source | Quick Reference (hide)