From 4e07947d1db65b858004ba2f67ec5ba8f40372f5 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Fri, 17 Sep 2010 22:02:45 +0000 Subject: [PATCH] Convert drupal_http_request(). --- libraries/http_request.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/http_request.inc b/libraries/http_request.inc index 43a3b7fa..a9457247 100644 --- a/libraries/http_request.inc +++ b/libraries/http_request.inc @@ -178,7 +178,7 @@ function http_request_get($url, $username = NULL, $password = NULL, $accept_inva } } else { - $result = drupal_http_request($url, $headers); + $result = drupal_http_request($url, array('headers' => $headers)); } $result->code = isset($result->code) ? $result->code : 200; -- GitLab