Permalink
Browse files

Gah - unbreak it!

(Sorry - just have used $ to jump to EOL in insert mode by mistake or something,
and didn't notice.  Despite it being  a simple change, I should have tested it
before submitting the PR.  /me hangs head)
  • Loading branch information...
bigpresh committed Oct 17, 2011
1 parent f7382f2 commit d68c956d7855e13d5524f31643f2a2419b8e2412
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/HTTP/Server/Simple.pm
@@ -709,7 +709,7 @@ and C<DELETE>.
sub valid_http_method {
my $self = shift;
my $method = shift or return 0;
- $return $method =~ /^(?:GET|POST|HEAD|PUT|PATCH|DELETE)$/;
+ return $method =~ /^(?:GET|POST|HEAD|PUT|PATCH|DELETE)$/;
}
=head1 AUTHOR

0 comments on commit d68c956

Please sign in to comment.