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

Add content-length header to outgoing requests if not supplied #1189

Merged
merged 2 commits into from
Jul 28, 2015

Conversation

jeskew
Copy link
Contributor

@jeskew jeskew commented Jul 23, 2015

Curl will assign a content-length header of '0' when it's missing from a request, but the StreamHandler will not. This appeared to be the cause of an issue on the AWS SDK.

@jeskew jeskew closed this Jul 23, 2015
@jeskew jeskew reopened this Jul 23, 2015
mtdowling added a commit that referenced this pull request Jul 28, 2015
…dler

Add content-length header to outgoing requests if not supplied
@mtdowling mtdowling merged commit 628cd92 into guzzle:master Jul 28, 2015
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