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

Expose request headers in Liquid available context #819

Merged
merged 4 commits into from
Jul 23, 2018

Conversation

davidor
Copy link
Contributor

@davidor davidor commented Jul 23, 2018

The goal of this PR is to cover the use case mentioned in #744 (comment)

The objective is to be able to combine the conditional policy with the upstream one and be able to choose an upstream based on a request header. In order to do that, I needed to expose the request headers in the ngx_variable module. I also added an integration test that checks that it works as expected.

@davidor davidor requested a review from a team as a code owner July 23, 2018 15:46
Copy link
Contributor

@mikz mikz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@davidor davidor merged commit 80e1ae1 into master Jul 23, 2018
@davidor davidor deleted the expose-headers-in-available-context-liquid branch July 23, 2018 16:19
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

Successfully merging this pull request may close these issues.

2 participants