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: prevent chunked requests #4

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Conversation

sonirico
Copy link
Owner

As prior to this commit, 'content-length' header was not being properly set, golang net/http client interpreted those requests to be chunked, as streaming requests can't have content length set beforehand.

As prior to this commit, 'content-length' header was not being
properly set, golang net/http client interpreted those requests
to be chunked, as streaming requests can't have content length set
beforehand.
@sonirico sonirico merged commit 576e6ab into main Sep 22, 2022
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.

1 participant