Skip to content

Conversation

@mateustd-ciandt
Copy link
Contributor

Fixes #214

This PR adds a new Go callout service that:

  • Conditionally buffers request/response bodies when enabled via config
  • Analyzes complete body content and adds informational headers
  • Supports format detection (JSON/XML/text) and error/warning pattern matching
  • Maintains request state with automatic cleanup to prevent memory leaks
  • Includes comprehensive unit tests for all handlers
  • The service can be enabled by configuring the "body_buffering" option.

@mateustd-ciandt mateustd-ciandt requested a review from a team as a code owner May 8, 2025 19:46
@mateustd-ciandt mateustd-ciandt changed the title feat: (callout/go) Adding a sample callout for set_header_baded_on_body feat: (callout/go) Adding a sample callout for set_header_based_on_body May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Callouts sample: body/header mutating sidestream

1 participant