Skip to content

Avoid duplicate request body encoding checks - #29

Merged
danmoz merged 1 commit into
masterfrom
fix/issue-14-body-encoding
Sep 5, 2026
Merged

danmoz merged 1 commit into
masterfrom
fix/issue-14-body-encoding

Conversation

@danmoz

@danmoz danmoz commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Compute the request body base64 decision once for API Gateway v2 requests. Recognize structured textual media types, including JSON and XML suffixes, ndjson, and GraphQL, so valid text is not inflated unnecessarily.

Fixes #14

Tests: go test ./...

@danmoz
danmoz merged commit 44be604 into master Sep 5, 2026
10 checks passed
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.

Avoid evaluating request body base64 encoding twice

1 participant