-
Notifications
You must be signed in to change notification settings - Fork 99
bug: On applying any ext-plugin-post-resp, any header set by upstream service was not passed to downstream #254
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
Comments
thx you very much. and can you create a PR ? |
|
Hi @abhi0476,
|
abhi0476
added a commit
to abhi0476/apisix-java-plugin-runner
that referenced
this issue
Jul 14, 2023
Done |
3 tasks
abhi0476
added a commit
to abhi0476/apisix-java-plugin-runner
that referenced
this issue
Jul 18, 2023
abhi0476
added a commit
to abhi0476/apisix-java-plugin-runner
that referenced
this issue
Jul 18, 2023
Test case fixes
abhi0476
added a commit
to abhi0476/apisix-java-plugin-runner
that referenced
this issue
Aug 9, 2023
abhi0476
added a commit
to abhi0476/apisix-java-plugin-runner
that referenced
this issue
Aug 9, 2023
abhi0476
added a commit
to abhi0476/apisix-java-plugin-runner
that referenced
this issue
Aug 9, 2023
abhi0476
added a commit
to abhi0476/apisix-java-plugin-runner
that referenced
this issue
Aug 17, 2023
This was referenced Aug 18, 2023
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If we apply any ext-plugin-post-resp filter any header set by upstream service was not passed to downstream.
Also There is no provision for setting multiple headers as headers is made as private Map<String, String> headers; instead it should be private Map<String, List> headers in PostResponse.java and PostRequest.java
Environment
Minimal test code / Steps to reproduce the issue
What's the actual result? (including assertion message & call stack if applicable)
Headers is not available on downstream
What's the expected result?
Headers should be available on downstream
Attaching a fix for the same
apisix.zip
The text was updated successfully, but these errors were encountered: