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???

Aperta
#226 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
152
Fork
102
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#### 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.