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

Improved configuration for response header setting #25

Open
ivanr opened this issue Oct 28, 2018 · 0 comments
Open

Improved configuration for response header setting #25

ivanr opened this issue Oct 28, 2018 · 0 comments

Comments

@ivanr
Copy link
Owner

ivanr commented Oct 28, 2018

At the moment, response headers are set using meta-routes (whose names/lines begin with @). However, the natural way to group and order response header configuration is conflicted with the natural way to order routes in the routing configuration. This leads to a lot of duplication and makes the configuration difficult to understand.

Perhaps would could move response header setting into another file, with its own syntax that is based around a hierarchy of paths, rather the order in which configuration lines are placed in the file.

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

No branches or pull requests

1 participant