HTTP header action settings
Configure settings for an HTTP request header action or an HTTP response header action for a proxy server. Use header modification actions to add, modify, or delete request and response headers.
To view this admin console page ...
Servers > Server Types > WebSphere proxy servers > proxy_server_name > Proxy actions.
- Action name
User-defined symbolic name for an HTTP header action.
An HTTP header action name must be unique and cannot contain an invalid character. The name field cannot contain the following characters: # \ / , : ; " * ? < > | = + & % '.
- Header name
Name of the HTTP header to set, append, edit, or remove from a request header or a response header.
- Header modify action
Action to be taken on a request or response header, such as set, append, edit, or remove.
Table 1. Header actions
Types of actions Description Set Adds a new value for a request or response header. If a value does not exist, this value is added. If a value does exist, this value replaces the current value. Append Adds a value to the current value for a request or response header. If a value does not exist for the header, then this value is added. If a value does exist for the header, then this value is added to the end of the current value. Edit Changes the current value to a different value for a request or response header. If a value exists for the header, then this value is changed equivalent to a regular expression search and replace. Remove Removes the specified header. If the header exists, then the header is removed. If the header does not exist, then no action is taken.
- Header value
User-defined value for a request or response header.
- Header value expression
Specifies a regular expression applied to the value of the Header name field. If a match exists, then the value specified for the header value field replaces the current value of the header name field.
- Method names (HTTP header request action)
Specifies the HTTP method to which the action applies, such as GET or POST. If a value is not specified, then the action is applied for all method names.
Method names apply to HTTP header request actions only.
- Status codes (HTTP header response action)
Return status codes to which the action applies, such as 200 or 503. If a value is not specified, then the action is applied for all status codes.
Status codes apply to HTTP header response actions only.
Related tasks
Administer proxy actions
Related
Proxy actions collection