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

[client] Read only part of response #876

Closed
ghost opened this issue Sep 10, 2020 · 1 comment
Closed

[client] Read only part of response #876

ghost opened this issue Sep 10, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 10, 2020

Hello. How can i read only X bytes of server response body if i use fasthttp client?
I found only ReadLimitBody() method of *Response, but it's wrong, as i understood.
My problem is read responses of thousands servers. I do not known what they return to me in responses. It is may be a big responses in GBytes, and i do not want download them all. I want read some start bytes and analyse it.

@erikdubbelboer
Copy link
Collaborator

I'm afraid that this is currently not possible. There has been some work on this, but it's not finished yet.

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