We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When \GuzzleHttp\PrepareBodyMiddleware modifies headers it calls $request->getBody()->getSize() to set Content-Length header, and the type of of that value is integer : https://github.com/guzzle/guzzle/blob/master/src/PrepareBodyMiddleware.php#L55
\GuzzleHttp\PrepareBodyMiddleware
$request->getBody()->getSize()
Content-Length
integer
Thus this change always leads to Header value must be a string or an array of strings. exception: https://github.com/guzzle/psr7/pull/250/files#diff-5abca4d9d5693da46d10a54795b1192dR157
Header value must be a string or an array of strings.
The text was updated successfully, but these errors were encountered:
#272 allows numeric values again
Sorry, something went wrong.
No branches or pull requests
When
\GuzzleHttp\PrepareBodyMiddleware
modifies headers it calls$request->getBody()->getSize()
to setContent-Length
header, and the type of of that value isinteger
: https://github.com/guzzle/guzzle/blob/master/src/PrepareBodyMiddleware.php#L55Thus this change always leads to
Header value must be a string or an array of strings.
exception:https://github.com/guzzle/psr7/pull/250/files#diff-5abca4d9d5693da46d10a54795b1192dR157
The text was updated successfully, but these errors were encountered: