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

adds other compression types of encoding #496

Closed
wants to merge 1 commit into from

Conversation

zguillen
Copy link

The dash app we used apig-wsgi to deploy to lambda had flask_compress enabled in the app which was using br encoding which wasn't being caught in the _should_send_binary.

Copy link
Owner

@adamchainz adamchainz left a comment

Choose a reason for hiding this comment

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

Perhaps we should send in binary if any Content-Encoding header is set? It seems this list covers all values except compress: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding

Also, please add a changelog entry and update tests.

@adamchainz
Copy link
Owner

Superceded by #526.

@adamchainz adamchainz closed this Oct 7, 2024
adamchainz added a commit that referenced this pull request Oct 7, 2024
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