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 can be easier for attackers to attack that server software.
Directives: The HTTP Server header accepts single directive that mentioned above and described below:
- <product>: This directive contains the name of the software that has been used by the server.
Below examples will illustrates the HTTP Server header:
- In this example the name of the software used by the server is Cloudflare.
- In this example the server name is Akamai Resource Optimizer and it is also showing the server-timing header with that.
server: Akamai Resource Optimizer server-timing: cdn-cache; desc=HIT server-timing: edge; dur=1
To check the Server in action go to Inspect Element -> Network check the response header for Server like below, Server is highlighted.
Supported Browsers: The browsers are compatible with the HTTP Server header are listed below:
- Google Chrome
- Internet Explorer
- HTTP headers | Server-Timing
- HTTP headers | Access-Control-Expose-Headers
- HTTP headers | Access-Control-Request-Headers
- HTTP headers | Access-Control-Allow-Headers.
- HTTP headers
- HTTP headers | Allow
- HTTP Headers | TE
- HTTP headers | Age
- HTTP headers | Via
- HTTP headers | Digest
- HTTP headers | expires
- HTTP headers | If-Unmodified-Since
- HTTP headers | SourceMap
- HTTP headers | Set-Cookie
- HTTP headers | Retry-After
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. 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.
Improved By : ManasChhabra2