Commit fbae0db6 authored by Dries's avatar Dries

- Patch #104693 by Chris: switch back to HTTP/1.0 headers.

parent 1fee6076
......@@ -454,7 +454,7 @@ function drupal_http_request($url, $headers = array(), $method = 'GET', $data =
$defaults[$header] = $header .': '. $value;
}
$request = $method .' '. $path ." HTTP/1.1\r\n";
$request = $method .' '. $path ." HTTP/1.0\r\n";
$request .= implode("\r\n", $defaults);
$request .= "\r\n\r\n";
if ($data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment