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.

Comments

bappa.sarkar’s picture

StatusFileSize
new5.42 KB

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

StatusFileSize
new5.34 KB

Modifying the patch fixing sniffer issues. Please review.

bappa.sarkar’s picture

StatusFileSize
new4.74 KB

Sorry my bad. Fixing some garbage added in previous patch

fabianx’s picture

Status: Needs review » Reviewed & tested by the community

Nice :)