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

@szmarczak would you mind giving an example? #1588

Closed
ngingihy opened this issue Jan 21, 2021 · 2 comments
Closed

@szmarczak would you mind giving an example? #1588

ngingihy opened this issue Jan 21, 2021 · 2 comments

Comments

@ngingihy
Copy link

@szmarczak
One solution could be calling await this._finalizeBody(); right before sending the body and making the user change (re-initialize) the body in the beforeRedirect (or beforeRequest) hook, but, to me, it seems a little tricky.

Another solution could be reading all the stream a single time and using it as a Buffer when making requests, but this is going to break the stream feature (big file are going to fill the RAM).

Originally posted by @Giotino in #1271 (comment)

@Giotino
Copy link
Collaborator

Giotino commented Jan 21, 2021

#1500 (comment)

@szmarczak
Copy link
Collaborator

Please fill out the issue template properly. Otherwise the issue will remain closed.

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

3 participants