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

[agent] Use custom compression middleware #22401

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

angrycub
Copy link
Contributor

The compression handler will still compress the response body, even if the response body is small or empty. This is not desirable, because an empty body compresses to 28-30 bytes, wasting both compression effort and network bandwidth for no gain.

The compression handler will still compress the response body, even if
the response body is empty. This is not desirable since an empty body
compresses to 28-30 bytes, wasting both compression effort and network
bandwidth for no gain.
@angrycub angrycub added type/enhancement stage/needs-discussion theme/dependencies Pull requests that update a dependency file labels May 29, 2024
@angrycub angrycub self-assigned this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/needs-discussion theme/dependencies Pull requests that update a dependency file type/enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant