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
$headers['Content-Length'] = strlen($body) - always set in int number. All libs! My code is die with v2.0.0-beta.1.
$headers['Content-Length'] = strlen($body)
$request = new Request($endpoint, 'POST', $content); $request->setHeaders($headers);
The text was updated successfully, but these errors were encountered:
0dc8069
I've allowed int, float, and Stringable objects to be part of the header array. Other types will still throw TypeError.
int
float
Stringable
TypeError
Sorry, something went wrong.
No branches or pull requests
$headers['Content-Length'] = strlen($body)
- always set in int number. All libs! My code is die with v2.0.0-beta.1.The text was updated successfully, but these errors were encountered: