diff --git a/libraries/http_request.inc b/libraries/http_request.inc
index 9a2629d932a27fa05f3bd8ff86e3359ed497a93c..7e70fe6cbbbb6ee8a260949795003bfa14b4748a 100644
--- a/libraries/http_request.inc
+++ b/libraries/http_request.inc
@@ -54,7 +54,7 @@ function http_request_get_common_syndication($url, $settings = NULL) {
   // @see http_request_get.
   $downloaded_string = $download->data;
   // If this happens to be a feed then just return the url.
-  if (http_request_is_feed($download->headers['content-type'], $downloaded_string)) {
+  if (isset($download->headers['content-type']) && http_request_is_feed($download->headers['content-type'], $downloaded_string)) {
     return $url;
   }