Skip to content

Commit 9ed1f3a

Browse files
authored
Merge pull request #211 from Ded-Alex/master
Update HttpClient.php
2 parents 4af8b45 + bf12716 commit 9ed1f3a

File tree

1 file changed

+2
-2
lines changed
  • develnext-bundles/dn-httpclient-bundle/src/vendor/develnext.bundle.httpclient.HttpClientBundle/bundle/http

1 file changed

+2
-2
lines changed

develnext-bundles/dn-httpclient-bundle/src/vendor/develnext.bundle.httpclient.HttpClientBundle/bundle/http/HttpClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public function execute($url, $method = 'GET', $data = null)
375375
}
376376

377377
if ($cookie) {
378-
$connect->setRequestProperty('Cookie', str::join($cookie, '&'));
378+
$connect->setRequestProperty('Cookie', str::join($cookie, '; '));
379379
}
380380

381381
foreach ($this->headers as $name => $value) {
@@ -592,4 +592,4 @@ protected static function textToArray($text, $trimValues = false)
592592

593593
return $result;
594594
}
595-
}
595+
}

0 commit comments

Comments
 (0)