I'm not really sure it should require curl at all, since drupal_http_request is available in core (and thus on any Drupal installation). But since I don't know the limitations of drupal_http_request and don't have the time to check what DrupalOAuthClient is doing with curl, I'm providing a patch to warn new users that curl is a requirement for oauth_common.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1529166-oauth-adding-curl-to-hook-requirements.patch | 1.24 KB | barraponto |
Comments
Comment #1
barrapontoBorrowed code heavily from http://drupalcontrib.org/api/drupal/contributions%21ubercart%21payment%2...
Comment #2
juampynr commentedCommitted. I have changed slightly the wording though to make it clear that it is a dependency of the OAuth module.
http://drupalcode.org/project/oauth.git/commitdiff/8e2d9d8
This needs a patch for branch 6.x-3.x.
Thanks!
Comment #3
juampynr commentedBackported to 6.x-3.x. I uninstalled PHP's cURL library and verified that the correct error was generated alerting about the missing dependency.
http://drupalcode.org/project/oauth.git/commitdiff/f23b9b1af717e3d9715df...