Adding a header injection policy
Add a header injection policy to a user agent to inject an HTTP header (name-value pair) into a request to the remote server.
About this task
Several DataPower® services can also inject HTTP headers. The user agent operates on the request after the service.
Procedure
- In the search field, enter User Agent.
- From the search results, click User Agent.
- Click the name of a user agent configuration.
- Click the Inject Header Policy tab.
- Add a policy.
- Click Add.
- In the URL Matching Expression field, enter a shell-style expression to be the matching pattern for the URL set.
- Define the header to inject: Header name and value.
- Click Apply.
- Optional: Repeat the previous step to add another policy.
- Click Apply to save the changes to the running configuration.
- Optional: Click Save Configuration to save the changes to the persisted configuration.
No comments:
Post a Comment