Any reason to use curl instead of drupal_http_request? (Users behind a proxy typically use a patched version of drupal_http_request which means that any modules using it work transparently.)

Comments

publicmind’s picture

Title: use drupal_http_request? » use drupal_http_request? | proxy support
Assigned: Unassigned » publicmind

drupal_http_request is not a very powerful function if compared to curl. curl lets set the timeouts for various actions which drupal_http_request does not support in D6.

I will mark it as a feature request to give support for proxy. If you think any other method could work better, please do leave a comment.

Thanks,