Use the delete_matching action.
delete_matching( )
Deletes all components of the specified header that contain a substring matching a regular-expression
pattern.
Note: An error results if two header modification actions modify the same header. The error is noted at compile time if the conflicting actions are within the same action definition block. A runtime error is recorded in the event log if the conflicting actions are defined in different blocks.
Syntax
delete_matching(header, regex_pattern)
Example
define action deletecookie
delete_matching(request.header.cookie, "^SMSESSION=.*")
end
<Proxy>
url.domain=bluecoat.com action.deletecookie(yes)