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: set an empty json body if no body is set #76

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

FreddyDevelop
Copy link
Contributor

If no body is set it can be that the server returns an EOF error. So this PR sets the body to an empty json object if no body was send.

@FreddyDevelop FreddyDevelop merged commit 61a44fe into main Nov 27, 2024
5 checks passed
@FreddyDevelop FreddyDevelop deleted the fix/no-http-body branch November 27, 2024 10:46
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.

2 participants