1
0
Fork 0

Merge remote-tracking branch 'nbaksalyar/proxy_fix'

pull/1241/merge
Jordi Boggiano 2012-10-21 16:25:56 +02:00
commit ca1dcc4659
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ final class StreamContextFactory
// Preserve headers if already set in default options
if (isset($defaultOptions['http']['header'])) {
$defaultOptions['http']['header'] .= "Proxy-Authorization: Basic {$auth}\r\n";
$defaultOptions['http']['header'][] = "Proxy-Authorization: Basic {$auth}";
} else {
$options['http']['header'] = "Proxy-Authorization: Basic {$auth}\r\n";
}