From f75a118156dd648f184f691a9af46538cd3e813a Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Tue, 13 Sep 2011 12:07:10 -0400 Subject: [PATCH] Even more possible HTTP request types. --- oggcast-count.plx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oggcast-count.plx b/oggcast-count.plx index 5ce229c..fc94358 100755 --- a/oggcast-count.plx +++ b/oggcast-count.plx @@ -22,7 +22,8 @@ my %data; while (<>) { chomp; - die "invalid line: $_" unless /^(\S+)\s+[^"]+"\s*(HEAD|GET|POST)\s+(\S+)[\s"]/; + die "invalid line: $_" + unless /^(\S+)\s+[^"]+"\s*(HEAD|GET|POST|OPTIONS|PUT|CONNECT|PROPFIND)\s+(\S+)[\s"]/; my($ip, $method, $url) = ($1, $2, $3); next unless $method =~ /^\s*GET\s*$/i;