Skip to content

Commit 801e8e5

Browse files
authored
Merge pull request #240 from christoph-kluge/remove-unused-explode
Removed unused explode from RequestHeaderParser
2 parents 6f7b324 + 57e8ac2 commit 801e8e5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/RequestHeaderParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ private function parseRequest($headers)
6969
throw new \InvalidArgumentException('Unable to parse invalid request-line');
7070
}
7171

72-
$lines = explode("\r\n", $headers);
73-
7472
// parser does not support asterisk-form and authority-form
7573
// remember original target and temporarily replace and re-apply below
7674
$originalTarget = null;

0 commit comments

Comments
 (0)