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

feat: support gzip & zstd compression #599

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

Conversation

kemingy
Copy link
Member

@kemingy kemingy commented Nov 17, 2024

Signed-off-by: Keming <kemingy94@gmail.com>
@github-actions github-actions bot added the enhancement New feature or request label Nov 17, 2024
@kemingy
Copy link
Member Author

kemingy commented Nov 17, 2024

This passed the test, but I found that there is no "Content-Encoding" in the response headers during the test, while manually running a script can get the full headers as expected:

Headers({'server': 'mosec/0.8.9', 'content-type': 'application/json', 'vary': 'accept-encoding', 'content-encoding': 'gzip', 'transfer-encoding': 'chunked', 'date': 'Sun, 17 Nov 2024 16:29:58 GMT'})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Add compression encoding support
1 participant