Description
Integrations can rewrite the HTML body today but cannot set headers on the outbound response. Add an IntegrationResponseMutator hook applied to the platform-neutral http::Response at the response convergence point, so an integration can add response headers, for example to request additional client evidence on a later request. This is a host-neutral extension point alongside the existing body-only HTML processing.
Done when
- An
IntegrationResponseMutator trait and registry wiring (response_mutators, apply_response_headers).
- Each adapter applies registered response-header mutations on the outbound response.
- Covered by tests.
References
Description
Integrations can rewrite the HTML body today but cannot set headers on the outbound response. Add an
IntegrationResponseMutatorhook applied to the platform-neutralhttp::Responseat the response convergence point, so an integration can add response headers, for example to request additional client evidence on a later request. This is a host-neutral extension point alongside the existing body-only HTML processing.Done when
IntegrationResponseMutatortrait and registry wiring (response_mutators,apply_response_headers).References