guzzle_http_request is a method identical to drupal_http_request. If any module wants to use guzzle to handle their http request they can call guzzle_http_request method.

drupal_http_request not able to fetch HTTPS urls over proxy (see https://drupal.org/node/924498). So if anyone wants to use guzzle_http_request over drupal_http_request they can configure guzzle to achieve that without changing any contributed module's code. Thanks to overridden facility in drupal_http_request method.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bappa.sarkar’s picture

The patch is using composer manager module and dependent on the patch https://drupal.org/node/1979822#comment-7825773

I have added one permission administer guzzle to configure whether or not to override drupal_http_request method.

bappa.sarkar’s picture

Status: Active » Needs review

Please review the patch above.

bappa.sarkar’s picture

Modifying the patch fixing sniffer issues. Please review.

bappa.sarkar’s picture

Sorry my bad. Fixing some garbage added in previous patch

Fabianx’s picture

Status: Needs review » Reviewed & tested by the community

Nice :)