Forum Discussion
Pat_70435
Altocumulus
Feb 23, 2017Response details back from calling HTTP.
Question on an HTTP_Response
Has anyone done any work with HTTP Response in detail.
Via the Wiki data I'm not seeing the data I'm looking for.
My questions go to within an HTTP Response d...
- Mar 06, 2017
I was unable to get this to work
if { [[LB::server pool] contains loadbalancePool]} { Persist Cookie Add } else pool loadbalancePool2 HTTP::header replace host www.newsite.com }I needed to utilize a switch statement for this to function -
switch -glob [LB::server pool] { "/loadbalancedPool" { } Persist Cookie Add }
Pat_70435
Altocumulus
Mar 06, 2017I was unable to get this to work
if { [[LB::server pool] contains loadbalancePool]} {
Persist
Cookie Add
} else
pool loadbalancePool2
HTTP::header replace host www.newsite.com
}
I needed to utilize a switch statement for this to function -
switch -glob [LB::server pool] {
"/loadbalancedPool" {
}
Persist
Cookie Add
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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