Skip to content

PYR1-1526 suppress Jetty Server header - #155

Merged
lambdatronic merged 1 commit into
mainfrom
sif/pyr1-1526-server-header
Jun 30, 2026
Merged

PYR1-1526 suppress Jetty Server header#155
lambdatronic merged 1 commit into
mainfrom
sif/pyr1-1526-server-header

Conversation

@sifbiri

@sifbiri sifbiri commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Purpose

By default Jetty adds a Server header naming its version to every response, which reveals a bit
more about the server than we need to. This sets ring-jetty's built-in :send-server-version? false
so the header stays off. It's a single config option, so existing callers carry on unchanged and
responses are otherwise the same.

Adds a small test and a README note.

@lambdatronic
lambdatronic merged commit 9fa6884 into main Jun 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants