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

fix: correct decoding of http response #273

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

kineticjs
Copy link
Contributor

Problem: "InvalidCharacterError " due to redundant decoding from base64 of a response content that was instead in plain text (no base64 encoding)

Solution: Make use of the second argument to the callback of the native request.getContent function, that signifies if the response is encoded, as documented in the API reference.

Fixes: #272

@kineticjs kineticjs merged commit 6f45157 into SAP:master Oct 25, 2024
3 checks passed
Copy link
Contributor

github-actions bot commented Nov 6, 2024

🎉 This PR is included in version 1.6.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preview of the batch for OData Request is empty now
2 participants