Skip to content

Commit

Permalink
Gah - unbreak it!
Browse files Browse the repository at this point in the history
(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 d68c956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/HTTP/Server/Simple.pm
Expand Up @@ -709,7 +709,7 @@ and C<DELETE>.
sub valid_http_method { sub valid_http_method {
my $self = shift; my $self = shift;
my $method = shift or return 0; my $method = shift or return 0;
$return $method =~ /^(?:GET|POST|HEAD|PUT|PATCH|DELETE)$/; return $method =~ /^(?:GET|POST|HEAD|PUT|PATCH|DELETE)$/;
} }


=head1 AUTHOR =head1 AUTHOR
Expand Down

0 comments on commit d68c956

Please sign in to comment.