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 doing a PUT with curl - if the CURLOPT_PUT is used CURLOPT_INFILE and CURLOPT_INFILESIZE.MUST be used (see the docs)
Currently you are checking for $content being a resource and trying to use CURLOPT_POSTFILES in other cases - this will fail
The proper fix is to push the string through a php memory stream and send that via curlopt_infile, otherwise put data will never be sent properly
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when doing a PUT with curl - if the CURLOPT_PUT is used CURLOPT_INFILE and CURLOPT_INFILESIZE.MUST be used (see the docs)
Currently you are checking for $content being a resource and trying to use CURLOPT_POSTFILES in other cases - this will fail
The proper fix is to push the string through a php memory stream and send that via curlopt_infile, otherwise put data will never be sent properly
The text was updated successfully, but these errors were encountered: