Permalink
Browse files

Removing unneeded preg flag.

  • Loading branch information...
1 parent 0fd4f92 commit 8a7de1b9b93afd56eb4f0fe98210cb7447266a9f @davidpersson davidpersson committed Jun 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 net/http/Message.php
@@ -109,7 +109,7 @@ public function headers($key = null, $value = null) {
foreach (($value ? array($key => $value) : (array) $key) as $header => $value) {
if (!is_string($header)) {
- if (preg_match('/(.*?):(.+)/i', $value, $match)) {
+ if (preg_match('/(.*?):(.+)/', $value, $match)) {
$this->headers[$match[1]] = trim($match[2]);
}
} else {

0 comments on commit 8a7de1b

Please sign in to comment.