tyk
tyk copied to clipboard
[TT-11997] Backend logic for request_headers_rewrite
User description
See https://tyktech.atlassian.net/browse/TT-11997 for details of the request headers rewrite rules.
PR Type
Enhancement, Tests
Description
- Added tests for request headers rewrite rules in GraphQL middleware.
- Integrated request headers rewrite logic into the reverse proxy handler.
- Added
RequestHeadersRewrite
toReverseProxyParams
struct. - Passed
RequestHeadersRewrite
to the GraphQL engine transport for both v1 and v2. - Implemented logic to apply request headers rewrite rules in the GraphQL engine transport, covering three different rewrite scenarios.
Changes walkthrough 📝
Relevant files | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests |
| ||||||||||
Enhancement |
|
💡 PR-Agent usage: Comment
/help
on the PR to get a list of all available PR-Agent tools and their descriptions