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

Implement buffer response type into Axios client #9

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

davidecaruso
Copy link
Member

I've added a buffer flag – as well as done with the json one – into the options object to set up the response type of the Http client and to handle Buffer responses.

Right now it has been integrated only with the Axios client because of – current – incompatibility with that feature of the Got client, so I suggest to integrate with it too in the near future.

This potentially resolves issue #8 if an Axios client is used.

@xzhayon xzhayon merged commit df780a7 into master Oct 29, 2021
@xzhayon xzhayon deleted the http-buffer-response branch October 29, 2021 13:27
@xzhayon xzhayon linked an issue Oct 29, 2021 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Allow Buffer response type on Http clients
2 participants