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

Always send body whole and don't use transfer encoding #186

Merged
merged 2 commits into from
Nov 15, 2019

Conversation

svenstaro
Copy link
Contributor

Without doing this, body size would be unknown at the time of sending, causing awc to use transfer encoding which is probably unexpected in most cases.
This change makes behavior more obvious.

Without doing this, body size would be unknown at the time of sending, causing awc to use transfer encoding which is probably unexpected in most cases.
This change makes behavior more obvious.
@svenstaro svenstaro requested a review from vmalloc October 8, 2019 23:35
@svenstaro
Copy link
Contributor Author

Please don't merge until @vmalloc has gotten this a look-over since they are the original author and I'd like to hear some thoughts on this.

@JohnTitor
Copy link
Member

Ping @vmalloc: any thoughts?

@svenstaro
Copy link
Contributor Author

Actually just today I noticed that this isn't quite correct yet either. I'll fix it. Please don't merge.

@svenstaro
Copy link
Contributor Author

Ok, I feel good about merging this now. This should also fix #188.

@svenstaro svenstaro merged commit dc6e1cc into master Nov 15, 2019
@svenstaro svenstaro deleted the proxy-whole-body branch November 15, 2019 19:27
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