Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit d68c956d7855e13d5524f31643f2a2419b8e2412 1 parent f7382f2
@bigpresh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/HTTP/Server/
2  lib/HTTP/Server/
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.