Skip to content

Conversation

@fmsbeekmans-beautypie
Copy link

GZIps the body of the requests to Datadog to prevent PayloadTooLargeError: request entity too large errors.

@fmsbeekmans-beautypie fmsbeekmans-beautypie changed the title GZIP body GZIP reportet request bodies Nov 3, 2025
Copy link
Collaborator

@Mr0grog Mr0grog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great improvement! 👍

But why not use the built-in zlib module here so we aren’t adding new dependencies? (Or CompressionStream if you are concerned about browser support.)

Also, please fix the lint errors.

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