Blue Coat Systems Time Clock Proxy SG User Manual
ProxySG Content Policy Language Guide
124
response.x_header.header_name=
Tests the specified response header (
header_name
) against a regular expression. For HTTP requests,
any response header can be tested, including custom headers. For recognized HTTP headers, use
response.header.header_name=
instead so that typing errors can be caught at compile time.
Replaces:
response_x_header.header_name=
Syntax
response.x_header.header_name=regular_expression
where:
•
header_name
—Any HTTP header, including custom headers.
•
regular_expression
—A regular expression. For more information, see Appendix E: “Using
Regular Expressions,” in the Blue Coat ProxySG Configuration and Management Guide.
Layer and Transaction Notes
•
Use in
<Cache>
,
<Proxy>
, and
<Exception>
layers.
Examples
; Tests if the custom header “Security” has the value of “confidential”
response.x_header.Security=”confidential”
See Also
•
Actions:
append( )
,
delete( )
,
delete_matching( )
,
rewrite( )
,
set( )
•
Conditions:
request.x_header.header_name=
,
response.header.header_name=