Skip to content

Add an integration response-header hook #782

@jwrosewell

Description

@jwrosewell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions