Forum Discussion
Ilian_Ivanov
Jul 10, 2017Nimbostratus
Choose pool based on HTTP Response
Is there any way to select a pool based on HTTP response?
For example: the default pool is responding on different URIs with different redirects. I don`t want the client to see that redirect, i...
Martin_Robbins
Jul 11, 2017Nimbostratus
I was able to do this by collecting all the headers on each request in HTTP_REQUEST combined with a select pool based on using a flag set in HTTP_RESPONSE, then if a retry was required, set the flag true and calling HTTP::retry with the headers caused the HTTP_REQUEST to select the new pool.
Unfortunately I cannot paste the code but it did work on 11.5 and above.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects