Skip to content

Feature request: Allow disabling the server header entirely #594

@PokkaKiyo

Description

@PokkaKiyo

Greetings!

I would like to request the ability to disable the default server header entirely, as showing the default server: Granian header does raise some best practice issues for my projects.

I've already checked that there is a related PR #522, which would allow me to send a server header with some obscured value in every response, but I would like the ability to optionally not have the header be inserted at all.

For reference against other third party libraries, in uvicorn, this can be achieved with the command line option --no-server-header or environment variable "UVICORN_SERVER_HEADER"=0 (https://www.uvicorn.org/settings/#http)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions