How do I remove the X-BlueCoat-Via header from a request sent from the ProxySG appliance to the Origin Content Server (OCS)?
search cancel

How do I remove the X-BlueCoat-Via header from a request sent from the ProxySG appliance to the Origin Content Server (OCS)?

book

Article ID: 166174

calendar_today

Updated On: 01-09-2025

Products

ProxySG Software - SGOS

Issue/Introduction

The Edge SWG (ProxySG) appliance sends the X-Bluecoat-Via header on outbound requests to detect loops in the network. Some devices do not like this header so you will need to install policy to remove this header.

For information on the X-Bluecoat-Via header , please refer to Why the Edge SWG(ProxySG) and Cloud SWG(fomally known WSS) send a header "X-Bluecoat-Via:"

Resolution

To remove the X-BlueCoat-Via header install the following CPL rules in local the local policy file:

<Proxy>
action.ControlRequestHeader(yes)

<Cache>
action.ControlRequestHeader(yes)

define action ControlRequestHeader
delete( request.header.X-BlueCoat-Via )
delete( response.header.X-BlueCoat-Via )
end

For step by step instructions on installing the local policy file, please refer to Add CPL to a local policy file on the Edge SWG (ProxySG)