KB Article #163941

Can the Via HTTP Header be removed?

Problem

It is not possible to edit or remove the Via header in a policy.


Resolution


The header cannot be removed or edited because the API Server is an intermediary and must add the Via header to conform to RFC 2616 section 14.45. That said, you can make the API Gateway list itself under a different name. See KB # 178805 for details.



14.45 Via


The Via general-header field MUST be used by gateways and proxies to indicate the intermediate protocols and recipients between the user agent and the server on requests, and between the origin server and the client on responses. It is analogous to the "Received" field of RFC 822 [9] and is intended to be used for tracking message forwards, avoiding request loops, and identifying the protocol capabilities of all senders along the request/response chain.