ProxySG Content Policy Language Guide

request.header.header_name=

Tests the specified request header (header_name) against a regular expression. Any recognized HTTP request header can be tested. For custom headers, use request_x_header.header_name= instead. For streaming requests, only the User-Agentheader is available.

Replaces: request_header.header_name=

Syntax

request.header.header_name=regular_expression

where:

header_name—A recognized HTTP header. For a complete list of recognized headers, see Appendix C: "Recognized HTTP Headers".

regular_expression—A regular expression. For more information, refer to Appendix E: “Using Regular Expressions,” in the Blue Coat ProxySG Configuration and Management Guide.

Layer and Transaction Notes

Use in <Cache> and <Proxy> layers.

Examples

;deny access when request is sent with Pragma-no-cache header

<proxy>

deny url=http://www.bluecoat.com request.header.Pragma=”no-cache”

See Also

Actions: append( ), delete( ), delete_matching( ), rewrite( ), set( )

Conditions: request.header.header_name.address=, request.x_header.header_name=, response.header.header_name=

116

Page 116
Image 116
Blue Coat Systems Proxy SG manual Request.header.headername=