Hi,<br><br>I recently came across this issue when drupal_http_request reported error (-1002 - missing schema) for the following URL:<br><br><a href="http://feedproxy.google.com/~r/variety/news/film/~3/ksODaiUYe-U/VR1118022938">http://feedproxy.google.com/~r/variety/news/film/~3/ksODaiUYe-U/VR1118022938</a><br>
<br>This URL redirects twice. For the first time, it returns the location: <br><a href="http://www.variety.com/article/VR1118022938?categoryid=3762&cs=1&nid=2564&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+variety%2Fnews%2Ffilm+%28Variety+-+Film+News%29">http://www.variety.com/article/VR1118022938?categoryid=3762&cs=1&nid=2564&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+variety%2Fnews%2Ffilm+%28Variety+-+Film+News%29</a> <br>
<br>with 302 code.<br><br>This URL when requested returns the Location: <br>/article/VR1118022938.html?categoryid=3762&cs=1&nid=2564&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+variety%2Fnews%2Ffilm+%28Variety+-+Film+News%29 <br>
<br>with 302 code.<br><br>As the drupal_http_request requests the location, a missing schema error is reported. Whereas the browser, and the following test site: <a href="http://www.rexswain.com/cgi-bin/httpview.cgi">http://www.rexswain.com/cgi-bin/httpview.cgi</a>, correctly returns the content of the page.<br>
<br>Is drupal_http_request missing some recommended functionality? <br><br>--<br>Regards,<br>Nitin Kumar Gupta<br><a href="http://publicmind.in/blog/">http://publicmind.in/blog/</a><br>