Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2013 at 14:05 UTC
Updated:
1 Feb 2013 at 11:08 UTC
Jump to comment: Most recent
Comments
Comment #1
mahaprasad commentedFor this function first argument $url value is not set, that's why this Notice is throws.
function drupal_http_request($url, array $options = array())
For more information check http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_http_request/7
Comment #2
frank ralf commentedThanks for your quick reply, but I'm not sure that's the reason for this notice. I will check again to provide more details.
Comment #3
klausson commentedI'm actually getting the same error message when using drupal_http_request to retrieve an image from a remote site when the header gets returned empty. code is 200, so I know I have a valid file and it actually gets written to my local site accurately. Yet, when I check for content-type and content-length, they are both empty (as is the rest of the header array).