apache / apache/apisix-java-plugin-runner

bug: On applying any ext-plugin-post-resp, any header set by upstream service was not passed to downstream

オープン
#254 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
152
フォーク
102
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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 headers; instead it should be private Map> headers in PostResponse.java and PostRequest.java

### Environment

* apisix-runner-starter 0.4.0

### Minimal test code / Steps to reproduce the issue

1. Apply any developed filter on ext-plugin-post-resp
2. Set some header say cookie on upstream server
3. Check response on httpclient, upstream headers has been ommitted

### 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](https://github.com/apache/apisix-java-plugin-runner/files/12011915/apisix.zip)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。