Citrix Systems Network Router 9.2 Benutzerhandbuch

Seite von 302
Chapter 6        Advanced Expressions: Parsing HTTP, TCP, and UDP Data
127
In addition, the following operations identify specific types of Cache-Control 
headers. See RFC 2616 for details on these header types.
Operations That Evaluate Cache-Control Headers
HTTP Header Operation
Description
Cache-Control header.
NAME(integer)
Returns as a text value the name of the Cache-Control 
header that corresponds to the nth component in a 
name-value list, as specified by integer.
The index of the name-value component is 0-based. If 
the index that is specified by the integer argument is 
greater than the number of components in the list, a 
zero-length text object is returned.
Following is an example:
http.req.cache_control.name(3).
contains("some_text")
Cache-Control header.
IS_INVALID
Returns a Boolean TRUE if the Cache-Control header 
is not present in the request or response. 
Following is an example:
http.req.cache_control.is_invalid
Cache-Control header.
IS_PRIVATE
Returns a Boolean TRUE if the Cache-Control header 
has the value Private. 
Following is an example:
http.req.cache_control.is_private
Cache-Control header.
IS_PUBLIC
Returns a Boolean TRUE if the Cache-Control header 
has the value Private. 
Following is an example:
http.req.cache_control.is_public
Cache-Control header.
IS_NO_STORE
Returns a Boolean TRUE if the Cache-Control header 
has the value No-Store. 
Following is an example:
http.req.cache_control.is_no_store
Cache-Control header.
IS_NO_CACHE
Returns a Boolean TRUE if the Cache-Control header 
has the value No-Cache. 
Following is an example:
http.req.cache_control.is_no_cache
Cache-Control header.
IS_MAX_AGE
Returns a Boolean TRUE if the Cache-Control header 
has the value Max-Age. 
Following is an example:
http.req.cache_control.is_max_age