Forum Discussion

jb_41530's avatar
jb_41530
Icon for Nimbostratus rankNimbostratus
Jan 29, 2015

Header Removal

I need some help on a header removal request.

 

I need to remove the header SOAPAction: "isPackagePublished"

 

seem like Apache is chocking on the string "isPackagePublished"

 

Is this all I need to enter on the irule

 

when HTTP_REQUEST { HTTP::header remove SOAPAction }

 

I rarely work with irules and any help would be greatly appreciated.

 

JB

 

5 Replies

  • The quick answer is yes, that's how you would remove an HTTP header. You just need to make sure that if you're using HTTPS, you offload that on the F5 so it can see the request data coming though.

     

  • SSL is offloaded , so I tried to create the irule and I am getting an error error: /Common/Header-Removal:4: error: [command is not valid in the current scope][}]

     

    any idea why this is accepting the irule creation. I am on ver 11.5.1

     

  • try pasting this as you iRule and see if it helps

    when HTTP_REQUEST { 
        HTTP::header remove "SOAPAction"
    }
    
    • Michael_Jenkins's avatar
      Michael_Jenkins
      Icon for Cirrostratus rankCirrostratus
      Please mark the answer as the solution if you don't mind so others can see it's been answered.