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

Support size limit of response body? #406

Open
ZigHuang opened this issue Dec 4, 2024 · 1 comment
Open

Support size limit of response body? #406

ZigHuang opened this issue Dec 4, 2024 · 1 comment

Comments

@ZigHuang
Copy link

ZigHuang commented Dec 4, 2024

Hi👋
I am using this library recently, and found that the configuration does not seem to support the length limit on the response body?
As background, I'm using this library to make a lot of http requests and find that the bandwidth usage is more than I expected.

@ZigHuang
Copy link
Author

ZigHuang commented Dec 4, 2024

I currently set DisableAutoReadResponse() and use io.LimitReader() it to solve this problem.

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

1 participant