Forum Discussion

Pat_70435's avatar
Icon for Altocumulus rankAltocumulus
Feb 23, 2017

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...
  • Pat_70435's avatar
    Mar 06, 2017

    I was unable to get this to work

       if { [[LB::server pool] contains loadbalancePool]}  {
                        Cookie Add
       } else 
                  pool loadbalancePool2
                  HTTP::header replace host

    I needed to utilize a switch statement for this to function -

       switch -glob [LB::server pool] {
           "/loadbalancedPool" {
           Cookie Add