Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Enable gzip for reqwest #75

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Enable gzip for reqwest #75

merged 1 commit into from
Feb 26, 2024

Conversation

lvn-hasky-dragon
Copy link
Contributor

The change has been done to reduce ingress data
consumption. reqwest::Client is currently used in the crate for fetching json file from sei-protocol and I can confirm that it works with gzip content-encoding.

The change has been done to reduce ingress data
consumption. reqwest::Client is currently used in the crate for
fetching json file from sei-protocol and I can confirm that it works
with gzip content-encoding.
@lvn-rusty-dragon
Copy link
Contributor

Is there also support for Brotli? Any idea if that helps too?

@lvn-rusty-dragon lvn-rusty-dragon merged commit 24a13eb into develop Feb 26, 2024
1 check passed
@lvn-rusty-dragon lvn-rusty-dragon deleted the enable-gzip branch February 26, 2024 05:31
@lvn-hasky-dragon
Copy link
Contributor Author

Is there also support for Brotli? Any idea if that helps too?

It is supported by reqwest and also by GitHub from my check. I will enable it in a subsequent PR, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants