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

Suggestion: gzip header #490

Open
matherfather opened this issue Apr 4, 2022 · 1 comment
Open

Suggestion: gzip header #490

matherfather opened this issue Apr 4, 2022 · 1 comment

Comments

@matherfather
Copy link

Add to the headers or similar:
Accept-Encoding: br;q=1.0, gzip;q=0.8, *;q=0.1

Potentially it will force server to use archiving which can use more mem/ cpu per request.

@roman-kruglov
Copy link
Contributor

roman-kruglov commented Apr 23, 2022

@arriven I wanted to implement this, but it seems the config already has such capabilities:

          "headers": {
            "Accept-Encoding": "gzip,deflate",

Does it make sense to implement adding it in code then? Or it shouldn't be added to every request?

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

No branches or pull requests

2 participants