Skip to content

Commit bb507a3

Browse files
51imyyyclue
andauthored
Update src/Browser.php
Co-authored-by: Christian Lück <[email protected]>
1 parent f79f44e commit bb507a3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Browser.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -843,11 +843,6 @@ private function requestMayBeStreaming($method, $url, array $headers = array(),
843843
}
844844

845845
foreach ($this->defaultHeaders as $key => $value) {
846-
if ($headers === array()) {
847-
$headers = $this->defaultHeaders;
848-
break;
849-
}
850-
851846
$explicitHeaderExists = false;
852847
foreach (\array_keys($headers) as $headerKey) {
853848
if (\strcasecmp($headerKey, $key) === 0) {

0 commit comments

Comments
 (0)