apache / apache/apisix-java-plugin-runner

request help: how should i get the custom header (this header was added beforehand in an ext-plugin-pre-req plugin.filter method) in ext-plugin-post-resp plugin???

未关闭
#226 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
152
派生
102
PR 合并指标
30 天内没有已合并 PR

描述

#### Issue description
I added an request header (startTimestamp) in an ext-plugin-pre-req plugin using HttpRequest.setHeader() method, then I want to acquire this custom header in an ext-plugin-post-resp plugin using PostRequest.getUpstreamHeaders() method. But it doesn't work. I've tried serveral ways, and none of them worked. This problem bothered me a lot, could you help me? Really thanks.

### Environment
* apisix-java-plugin-runner version
0.3.0
* apisix verison
2.15.1

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。