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

Compression based on "Accept-Encoding" #893

Closed
incker opened this issue Sep 7, 2021 · 2 comments
Closed

Compression based on "Accept-Encoding" #893

incker opened this issue Sep 7, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@incker
Copy link

incker commented Sep 7, 2021

Hello, I can gzip content using

.with(warp::compression::gzip())

But how can I gzip or not based on incoming "Accept-Encoding" headers?

Forward thank you

@incker incker added the bug Something isn't working label Sep 7, 2021
@kaj
Copy link

kaj commented Sep 7, 2021

This is previously discussed in PR #513 and Issue #768 . As none of those are closed yet, this issue should probably count as a duplicate.

@incker
Copy link
Author

incker commented Sep 8, 2021

I see. need wait this PR
Close as duplicate

@incker incker closed this as completed Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants