Forum Discussion
Insert multiple HTTP header variables
We are using a sideband connection for authorization on LTMs running versions 11.3 - 11.5. The authorization server has the ability to publish headers or cookies to the HTTP response that goes back to the F5 before being forwarded to the destination server. Is there a way to basically append any header variable or cookie added by the authorization server to the HTTP request?
1 Reply
- THi
Nimbostratus
You are doing sideband with an iRule. Basically you should be able to parse the sideband response for the cookies and headers into local variables. And then insert them to the request to the server. There are multiple threads on DevCentral on how to insert/replace/set headers and cookies.
Have you looked onto Mark's HTTP Super SIDEBAND Requestor (https://devcentral.f5.com/wiki/iRules.HTTP-Super-SIDEBAND-Requestor-Client-Handles-Redirects-Cookies-Chunked-Transfer-APM-Access-etc.ashx)
The sideband call is a proc call within an iRule. It can return cookies and headers as lists, which you can the search/parse for intended headers, and then add them to the request or redirect. There is an example of adding cookies into an redirect response to the client (with APM event in this case).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com