Skip to main content
Skip table of contents

HeaderModel

Returns header for key from HttpServletRequest.

implements: hash
bundle: online channel standard (oc)
since 4.10.0
Returns header for key from HttpServletRequest.

Generic hash-model operating on the HttpServletRequest's header data.

This model is made accessible by the OCFreemarkerExtensionService with the global access path 'cs.request.header'.

Defined hash keys

cs.request.header.<String:key> ↦ String
since 4.10.0
Returns header data for 'key' from HttpServletRequest.

  • Example:
    cs.request.header.accept - may return 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.