DevKits

Response · Response header

Server

Identifies the server software.

What is Server?

Purely informational — and mildly a security leak (it advertises your stack). Many hardened servers strip or fake this header.

Typical usage

Optional. Often stripped in production.

Examples

Server: nginx/1.25.3

Common gotchas

Attackers use Server headers for reconnaissance. Consider removing it on production.

Specification

RFC 9110 §10.2.4

Frequently asked questions

What is the Server HTTP header?

Purely informational — and mildly a security leak (it advertises your stack). Many hardened servers strip or fake this header.

Is Server a request or response header?

Server is a response header — the server sends it to the client. Optional. Often stripped in production.

What does a Server header look like?

A typical Server header looks like: Server: nginx/1.25.3.

What are common mistakes with Server?

Attackers use Server headers for reconnaissance. Consider removing it on production.

Related headers

Work with this header