- Patch #104693 by Chris: switch back to HTTP/1.0 headers.
parent
1fee60766e
commit
fbae0db63f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue