Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | guzzle-guzzle_http_request-2082353.patch | 4.74 KB | bappa.sarkar |
#3 | guzzle-guzzle_http_request-2082353.patch | 5.34 KB | bappa.sarkar |
#1 | 2082353-guzzle-http-request.patch | 5.42 KB | bappa.sarkar |
Comments
Comment #1
bappa.sarkar CreditAttribution: bappa.sarkar commentedThe 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.
Comment #2
bappa.sarkar CreditAttribution: bappa.sarkar commentedPlease review the patch above.
Comment #3
bappa.sarkar CreditAttribution: bappa.sarkar commentedModifying the patch fixing sniffer issues. Please review.
Comment #4
bappa.sarkar CreditAttribution: bappa.sarkar commentedSorry my bad. Fixing some garbage added in previous patch
Comment #5
Fabianx CreditAttribution: Fabianx commentedNice :)