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

Allow appending headers #412

Open
luka-mikec opened this issue Dec 12, 2022 · 0 comments
Open

Allow appending headers #412

luka-mikec opened this issue Dec 12, 2022 · 0 comments

Comments

@luka-mikec
Copy link

Hello, would it be possible to add a configuration option that would append headers to all responses? In my case, I would like to add Cache-Control: no-cache to all responses.

Describe the Enhancement

Currently there is no way (as far as I know) to append headers without an additional proxy in place. With the enhancement we would be able to set an option called e.g. BP_WEB_SERVER_APPEND_HEADERS.

Possible Solution

Adding a new configuration option such as BP_WEB_SERVER_APPEND_HEADERS.

Motivation

In my case, I want to block browsers caching pages. While this is maybe not a very common need, I am guessing it is not rare that people need to add various headers to their responses.

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

No branches or pull requests

1 participant