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

[policy] [gravitee-policy-transformheaders] Headers are deleted before using them #237

Closed
brasseld opened this Issue Oct 3, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@brasseld
Member

brasseld commented Oct 3, 2016

I'm trying to do the following in the policy:

Remove header x-header
Add a new header x-new-header based on the value {#request.headers['x-header‘]}

Actually, this is not possible because in the policy, headers are removed before adding new ones.

According to me, we must have to do the opposite.

@brasseld brasseld added the type: bug label Oct 3, 2016

@brasseld brasseld added this to the 0.19.1 milestone Oct 3, 2016

brasseld added a commit to gravitee-io/gravitee-policy-transformheaders that referenced this issue Oct 3, 2016

@brasseld brasseld self-assigned this Oct 3, 2016

NicolasGeraud added a commit to gravitee-io/gravitee-policy-transformheaders that referenced this issue Oct 3, 2016

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