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 can be easier for attackers to attack that server software.

Syntax:

Server: <product>

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:
Example:

  • In this example the name of the software used by the server is Cloudflare.
    server: 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
  • 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 contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.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

Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.