Skip to content

Commit 4a81a85

Browse files
author
Martin Brecht-Precht
committed
Code cleanup.
1 parent 9976538 commit 4a81a85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Request/AbstractRequest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,8 @@ private function setEffectiveProperties($curl)
429429
$headerValue = mb_substr($requestHeader, strpos($requestHeader, ':') + 1);
430430
$headerValues = explode(',', $headerValue);
431431
$this->effectiveHeaders[] = new Header($headerName, $headerValues);
432-
} else {
432+
}
433+
if (strpos($requestHeader, ':') === false) {
433434
$this->effectiveStatus = $requestHeader;
434435
}
435436
}

0 commit comments

Comments
 (0)