-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Why not remove the dependency of curl extension? #27
Comments
|
@klimov-paul you can do all that with file_get_contents: http://stackoverflow.com/questions/2445276/how-to-post-data-in-php-using-file-get-contents |
@klimov-paul You really did not knows about the function |
If you have not plan to implement this feature, I intend to submit the patch, but has not yet begun to write code. |
A patch would be great. |
Any enhancement at this matter does not make sense unless there is a final resolution on yiisoft/yii2#2953 Migration from CURL to stream will break a BC as some client functions manipulate CURL options. |
Well, if CURL stuff is exposed via public API we definitely can't touch it in 2.0.x. |
Resolved via #117 |
The PHP built-in function
file_get_contents()
, fully supports all kinds of HTTP requests since 5.0.0.I strongly hope to cancel the dependence of CURL, I never like to install extra extension, unless there is no choice.
thanks.
The text was updated successfully, but these errors were encountered: