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-Allow-Headers.
- HTTP Headers | TE
- HTTP headers
- HTTP headers | Age
- HTTP headers | Via
- HTTP headers | Allow
- HTTP headers | Connection
- HTTP headers | Trailer
- HTTP headers | Set-Cookie2
- HTTP headers | Accept
- HTTP headers | If-None-Match
- HTTP headers | Origin
- HTTP headers | Host
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