Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to optionally disable powered-by header #449

Merged
merged 2 commits into from
May 9, 2018

Conversation

Blacksmoke16
Copy link
Contributor

Description of the Change

This PR fixes #447 by adding a new property to the config class powered_by_header This property, true by default, determines if the header X-Powered-By: Kemal should be included in all response headers.

Usage

Kemal.config.powered_by_header = false

@sdogruyol
Copy link
Member

Thanks @Blacksmoke16 👍 LGTM

@sdogruyol sdogruyol merged commit f3f7e31 into kemalcr:master May 9, 2018
@Blacksmoke16 Blacksmoke16 deleted the optional-powered-by-header branch May 9, 2018 14:05
@prutya
Copy link

prutya commented May 10, 2018

Great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optionally disable the X-Powered-By header
4 participants