Delete Header
- Last Updated: August 5, 2025
- 1 minute read
- LoadMaster
- LoadMaster GA
- Documentation
The Delete Header option removes a header from the request. This can be used on the client header going to the server, or on the server header going to the client.
The Delete Header option uses a Regex over the whole header and the value of the header. The header will only be deleted if it all matches.
For example, in the screenshot above the Server header is being deleted to hide the web server details from the client. If the header name Server is matched, the header is deleted. If you want to change or delete the value of a header, use the Replace Header rule instead.
Rule Name
This field is used for identification and should be named to help remember what the rule does in the Virtual Service.
Header Field to be Deleted
The LoadMaster removes the header field with this name from the request/response.
Perform if Flag is Set
Only execute this rule if the specified flag is set.
The flag will have been set by a different rule.
Perform If Flag is NOT Set
Only try to execute this rule if the specified flag is not set.