HTTP headers | Alt-Svc Last Updated : 10 May, 2020 Comments Improve Suggest changes Like Article Like Report The HTTP headers Alt-Svc header is a response-type header it has been used to advertise alternative service. Which services can be defined by a protocol/host/port combination. Syntax: Alt-Svc: clear Alt-Svc: <protocol-id>=<alt-authority>; ma=<max-age>; persist=1 Directives: This header accept five directives as mentioned above and described below: clear: This directive define that all alternative services for that origin to be invalidated. <protocol-id>: This directive is the ALPN protocol identifier. <alt-authority>: This directive defines an alternative authority which consists of an optional host override, a colon, and a mandatory port number. ma=<max-age>: It holds the number that defines seconds for which the alternative service is considered fresh if it is omitted then the default value will be 86400. It is an optional directive. persist=1: This directive holds the alternative service which cleared on network configuration changes. Use of the persist=1 ensures that the entry is not deleted through such changes. Example: Alt-Svc: h2=":425"; ma=2585900; persist=1 Alt-Svc: h2=":485"; ma=592000; To check this Alt-Svc in action go to Inspect Element -> Network check the request header for Alt-Svc like below, Alt-Svc is highlighted you can see. Supported Browsers: The browsers compatible with HTTP headers Alt-Svc are listed below: Google Chrome Internet Explorer Firefox Safari Opera Comment More infoAdvertise with us Next Article HTTP headers | Digest S skyridetim Follow Improve Article Tags : Computer Networks HTTP-headers Similar Reads HTTP headers | DNT The HTTP DNT Header is a request header that allows users to choose if their activity could be tracked by each server and web application that they communicate with via HTTP. The generated header field is a mechanism that allows the user to opt-in or out of the tracking. Tracking allows user to expe 2 min read HTTP headers | Server The HTTP Server header is a response-type header that contains the information about the used software by the server to handle all the requests. This header will only a few details of the server like the server name software like sffe, cloudflare etc. Hide all the important information because that 1 min read HTTP headers | Server The HTTP Server header is a response-type header that contains the information about the used software by the server to handle all the requests. This header will only a few details of the server like the server name software like sffe, cloudflare etc. Hide all the important information because that 1 min read HTTP headers | Server The HTTP Server header is a response-type header that contains the information about the used software by the server to handle all the requests. This header will only a few details of the server like the server name software like sffe, cloudflare etc. Hide all the important information because that 1 min read HTTP headers | Digest The Digest HTTP header is a response HTTP header that provides the requested resource with a small value generated by a hash function from a whole message. The Digest HTTP header is a response header that provides a digest of the requested resource. The entire representation is used to calculate the 1 min read HTTP headers | Digest The Digest HTTP header is a response HTTP header that provides the requested resource with a small value generated by a hash function from a whole message. The Digest HTTP header is a response header that provides a digest of the requested resource. The entire representation is used to calculate the 1 min read Like