What would you like to be added:
- Clarify whether
HTTPRouteRequestMirror should mirror the complete HTTP request (headers + body) or only headers
- Update conformance tests to explicitly verify request body mirroring behavior (either as part of
HTTPRouteRequestMirror or as part of a new feature)
- Update
HTTPRouteRequestMirror documentation to clarify the expected behavior
Why this is needed:
Current conformance tests only verify HTTP header mirroring, creating ambiguity about request body handling. This leads to inconsistent implementations - for example, AgentGateway complies with current tests while only mirroring headers, not the body.
This is problematic for blue-green deployments (or prod&stage) that test POST/PUT endpoints, which require the complete request (including body) to be mirrored for meaningful validation.
Kudos to @elivlo for originally identifying this undefined behavior.
What would you like to be added:
HTTPRouteRequestMirrorshould mirror the complete HTTP request (headers + body) or only headersHTTPRouteRequestMirroror as part of a new feature)HTTPRouteRequestMirrordocumentation to clarify the expected behaviorWhy this is needed:
Current conformance tests only verify HTTP header mirroring, creating ambiguity about request body handling. This leads to inconsistent implementations - for example, AgentGateway complies with current tests while only mirroring headers, not the body.
This is problematic for blue-green deployments (or prod&stage) that test POST/PUT endpoints, which require the complete request (including body) to be mirrored for meaningful validation.
Kudos to @elivlo for originally identifying this undefined behavior.