$getHeader

Returns the value of the specified HTTP header field from the client request.
Syntax
    $getHeader{header_name}{default_value}
DocumentationReturns the value of the specified HTTP header field from the client request (see also $getHeaderNames):

    Pearameters:
      header_name, the name of the HTTP header whos value is requested.
      default_value, a optional parameter to be returned if the named HTTP header was not included.
    Returns:
      the value of the named HTTP header.
    Throws:
      java.lang.IllegalArgumentException if the named HTTP header was not included and the default parameter was not set.
    Note:
      the case of the header name is ignored.
      a list of all header names included with the clients HTTP request can be got by using $getHeaderNames.
Examples
    $getHeader{user-agent}
    {no defined user agent}

    Result:
    if the header field "user agent" is defined on the client:
    for example: Mozilla/4.5 [en] (WinNT; I)
    if the header field "user agent" is not defined on the client side:
    no defined user agent
GroupNet
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 2