HTTP headers | Via

The HTTP headers Via is used to inform the server of proxies through which the request was sent. The Via general is added by. It tacks the messages forwarded, request loops avoided, and identify the protocol capabilities of the sender. The header type of Via is the General type.


Via: [ <protocol-name> "/" ] <protocol-version> <host> [ ":" <port> ]


Via: [ <protocol-name> "/" ] <protocol-version> <pseudonym>

Directives: There are four directives accepted by HTTP headers Via.

  • <protocol-name>: It is an optional directive and used to define the protocols in headers like “HTTP”
  • <protocol-version>: This directive is used to define the version of the protocol.
  • <host> and <post>: This directive defines the public proxy URL and port.
  • <pseudonym>: This directives defines the name/alias of an internal proxy.


Via: HTTP/1.1 GWA
via: 1.1 (CloudFront)

To check this Via in action go to Inspect Element -> Network check the request header for Via like below, via is highlighted you can see.

Note: The HTTP headers via can be visible in the Response and Request both headers.

Supported Browsers: The browsers compatible with HTTP headers Via are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera
My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.