Forum Discussion
Pat_70435
Feb 23, 2017Altocumulus
Response 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
Mar 06, 2017Altocumulus
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
}
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