diff --git a/libraries/http_request.inc b/libraries/http_request.inc
index 44f4fb5..da70502 100644
--- a/libraries/http_request.inc
+++ b/libraries/http_request.inc
@@ -77,7 +77,7 @@ function http_request_get_common_syndication($url, $settings = NULL) {
  *   If the URL uses authentication, supply the password.
  * @param bool $accept_invalid_cert
  *   Whether to accept invalid certificates.
-
+ *
  * @return stdClass
  *   An object that describes the data downloaded from $url.
  */
@@ -131,6 +131,9 @@ function http_request_get($url, $username = NULL, $password = NULL, $accept_inva
   // Support the 'feed' and 'webcal' schemes by converting them into 'http'.
   $url = strtr($url, array('feed://' => 'http://', 'webcal://' => 'http://'));
 
+  // Give stream wrappers a chance to give us a URL.
+  $url = file_create_url($url);
+
   if ($curl) {
     $headers[] = 'User-Agent: Drupal (+http://drupal.org/)';
     $result = new stdClass();
