1
0
Fork 0

Force http1.1 protocol

pull/3376/merge
Jordi Boggiano 2015-04-26 22:18:04 +01:00
parent ea03730549
commit 1cb427ff5c
1 changed files with 2 additions and 0 deletions

View File

@ -405,6 +405,8 @@ class RemoteFilesystem
}
$options = array_replace_recursive($this->options, $additionalOptions);
$options['http']['protocol_version'] = 1.1;
$headers[] = 'Connection: close';
if ($this->io->hasAuthentication($originUrl)) {
$auth = $this->io->getAuthentication($originUrl);