Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1111809 of Server

  • Revision slug: Web/HTTP/Headers/Server
  • Revision title: Server
  • Revision id: 1111809
  • Created:
  • Creator: fscholz
  • Is current revision? Yes
  • Comment fix github url

Revision Content

{{HTTPSidebar}}

The Server header contains information about the software used by the origin server to handle the request.

Overly long and detailed Server values should be avoided as they potentially reveal internal implementation details that might make it (slightly) easier for attackers to find and exploit known security holes.

Header type {{Glossary("Response header")}}
{{Glossary("Forbidden header name")}} no

Syntax

Server: <product>

Directives

<product>
The name of the software or (sub) product that handles the requests.

Examples

Server: Apache/2.4.1 (Unix)

Specifications

Specification Title
{{RFC("7231", "Server", "7.4.2")}} Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

Browser compatibility

{{Compat}}

See also

  • {{HTTPHeader("Allow")}}

Revision Source

<div>{{HTTPSidebar}}</div>

<p>The <code><strong>Server</strong></code> header contains information about the software used by the origin server to handle the request.</p>

<p>Overly long and detailed Server values should be avoided as they potentially reveal internal implementation details that might make it (slightly) easier for attackers to find and exploit known security holes.</p>

<table class="properties">
 <tbody>
  <tr>
   <th scope="row">Header type</th>
   <td>{{Glossary("Response header")}}</td>
  </tr>
  <tr>
   <th scope="row">{{Glossary("Forbidden header name")}}</th>
   <td>no</td>
  </tr>
 </tbody>
</table>

<h2 id="Syntax">Syntax</h2>

<pre class="syntaxbox">
Server: &lt;product&gt;
</pre>

<h2 id="Directives">Directives</h2>

<dl>
 <dt>&lt;product&gt;</dt>
 <dd>The name of the software or (sub) product that handles the requests.</dd>
</dl>

<h2 id="Examples">Examples</h2>

<pre>
Server: Apache/2.4.1 (Unix)</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("7231", "Server", "7.4.2")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>

<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

<ul>
 <li>{{HTTPHeader("Allow")}}</li>
</ul>
Revert to this revision