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

HTTP endpoint class should allow compression of the data using gzip #204

Open
asipras opened this issue May 5, 2022 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@asipras
Copy link

asipras commented May 5, 2022

***This is not an issue but an enhancement request/proposal. ***

Currently Http end point class does not allow any method which we can use to compress data. Compression is helpful when you want to post Mutation data which is quite big.

One solution is to check whether the headers contains Content-Encoding: gzip and if does then compress data using gzip library.

@barbieri
Copy link
Member

barbieri commented May 6, 2022

hi @asipras, while the idea is valid, I think it's out of scope of this project and standard endpoints. Of course, if you want to implement an alternative endpoint or add a flag to the constructor to support this, you're welcome, but I don't have time to work on such feature.

@barbieri barbieri added enhancement New feature or request help wanted Extra attention is needed labels May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants