ruanweihong-aaa opened a new pull request, #14196: URL: https://github.com/apache/apisix/pull/14196
### Description The English and Chinese documentation for `proxy-rewrite` and `response-rewrite` currently says header operations run as `add -> remove -> set`. Both implementations execute `add -> set -> remove`. This matters when operations target the same header: `set` overwrites values added by `add`, and `remove` deletes the header afterward. Correct the order in all four documentation pages and explain this precedence. This is a documentation-only change; runtime behavior is unchanged. Related discussion: https://github.com/apache/apisix/discussions/14190#discussioncomment-19539030 ### Validation - `git diff --check` passed. - Checked the three operation loops in both plugins against all four updated descriptions. - Reviewed the existing add/set precedence coverage in `t/plugin/proxy-rewrite3.t` (tests 19–20). - Runtime tests were not run because this change only updates documentation. ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained the changes or the new features added to this PR - [ ] I have added tests corresponding to this change (not applicable: documentation-only correction) - [x] I have updated the documentation to reflect this change - [x] I have verified that this change is backward compatible -- 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]
