Skip to content

Commit

Permalink
Patch from agaran to fix a problem with his original patch to Filter-…
Browse files Browse the repository at this point in the history
…HTTPD. Adjusted so the tests pass.
  • Loading branch information
bingos committed Feb 20, 2008
1 parent c47d4a5 commit 1f20997
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/POE/Filter/HTTPD.pm
Expand Up @@ -209,8 +209,7 @@ sub get {

# If this is a GET or HEAD request, we won't be expecting a message
# body. Finish up.

my $method = uc $r->method();
$method = uc $r->method();
if ($method eq 'GET' or $method eq 'HEAD') {
$self->[FINISH]++;
# We are sending this back, so won't need it anymore.
Expand Down

0 comments on commit 1f20997

Please sign in to comment.