-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to request binary files? #155
Labels
Comments
Resilient was not designed to operate with binary, potentially large, responses that can rely on streams. You can reply on the buffered body, if available, instead of streams. If the response is large, you should probably use a different library. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you provide an example how to request binary files? Normally, with http module I would do this:
http.get({...}, (res) => {
// Use res.pipe() or res.on('data', ..) here but neither of them is working with resilient
});
The text was updated successfully, but these errors were encountered: