Conditionally add headers.#3047
Conversation
|
@dev-priporov Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
|
@dev-priporov Thank you for signing the Contributor License Agreement! |
Codecov Report
@@ Coverage Diff @@
## master #3047 +/- ##
============================================
+ Coverage 65.88% 66.32% +0.43%
- Complexity 1439 1440 +1
============================================
Files 182 182
Lines 6750 6755 +5
Branches 813 814 +1
============================================
+ Hits 4447 4480 +33
+ Misses 1994 1966 -28
Partials 309 309
Continue to review full report at Codecov.
|
|
are all success checks necessary to complete PR? |
|
client -> zuul proxy -> api service. After this change, how can zuul proxy not allow forwarding client header information to the api service but allow zuul to generate the same header information to the api service, because the client is not trusted, but the zuul proxy is trusted |
|
Please open a separate issue with a sample that demonstrates the problem |
ignored headers are added in method buildZuulRequestHeaders in class ProxyRequestHelper in code below:
I've added a condition to skip these headers:
Fixes gh-3036