Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore utf-8 decode errors when processing text content types bodies #595

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

pmeenan
Copy link
Contributor

@pmeenan pmeenan commented Dec 28, 2022

This makes the agent more "forgiving" when it is gathering response bodies to allow for bodies with invalid utf-8 characters to be processed when the response content-type claims to be a text content type.

See HTTPArchive/custom-metrics#60

@pmeenan pmeenan requested a review from tkadlec December 28, 2022 18:29
@tkadlec tkadlec merged commit 55e338d into catchpoint:master Jan 4, 2023
@pmeenan pmeenan deleted the bodies branch January 9, 2023 15:43
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.

2 participants