Permalink
Browse files

Stop special casing COOKIE $env

  • Loading branch information...
1 parent cdd95b7 commit 70335753e28ae856a4ee93322c12cd194dda540f @miyagawa miyagawa committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Plack/Request.pm
View
2 lib/Plack/Request.pm
@@ -117,7 +117,7 @@ sub headers {
(my $field = $_) =~ s/^HTTPS?_//;
( $field => $env->{$_} );
}
- grep { /^(?:HTTP|CONTENT|COOKIE)/i } keys %$env
+ grep { /^(?:HTTP|CONTENT)/i } keys %$env
);
}
$self->{headers};

0 comments on commit 7033575

Please sign in to comment.