The Request object

Path: document/request

The request is a unique sub-object of the documentthat represents the HTTP request that provokes this document rendering.

Fields Type Description
header[header-name] Selectable attribute (string) A string containing the selected header value. Example : An element to render only on Firefox
<div
 gwc:condition=
 "contains(document/request/
  header['user-agent'],
 'gecko')>You use Firefox</div>
headers Collection of headerobjects A collection of all headers handled in the request.
header/length Attribute (number) Number of items in the collection.