dengliming opened a new pull request, #7258: URL: https://github.com/apache/shenyu/pull/7258
## Summary - Apply configured response-header deduplication after WebClientMessageWriter redraws the original upstream headers. - Honor retain-first, retain-last and retain-unique strategies without modifying the upstream ResponseEntity's read-only headers. - Add writer-level regression tests that start with previously deduplicated exchange headers and verify final downstream values, untouched unconfigured headers and preserved CORS origin. Fixes #6557 ## Validation - `./mvnw -pl shenyu-plugin/shenyu-plugin-response -am -DskipTests=false -Dcheckstyle.skip=false -Dtest=WebClientMessageWriterTest -DfailIfNoTests=false test` (Java 17): passed, including Checkstyle. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
