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

REST option extra _headers callback #1456

Closed
varnerac opened this issue May 29, 2020 · 1 comment
Closed

REST option extra _headers callback #1456

varnerac opened this issue May 29, 2020 · 1 comment

Comments

@varnerac
Copy link
Contributor

Would you consider a PR for an "extra headers" callback on the REST module? In addition to CORS (#947), there are security-related headers and maybe application-specific headers that could benefit from an option callback. It'd just take a tuple list of headers.

I would also use it to implement a headers option on cowboy_static�.

@essen
Copy link
Member

essen commented May 30, 2020

Where would it be located in the graphs?

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

2 participants