From 0cf2d4e466282495cb33a8a48a1d70b96b07e6d5 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 29 May 2017 19:53:11 +1200 Subject: Correct capitalisation on request headers --- plugin/url_title.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/url_title.pm b/plugin/url_title.pm index 4ab48af..5364677 100644 --- a/plugin/url_title.pm +++ b/plugin/url_title.pm @@ -26,7 +26,7 @@ sub message } return unless $url; - my $http = HTTP::Tiny->new((default_headers => {range => "bytes=0-65536", accept => 'text/html'}, timeout => 5)); + my $http = HTTP::Tiny->new((default_headers => {'Range' => "bytes=0-65536", 'Accept' => 'text/html'}, timeout => 3)); my $response = $http->get($url); -- cgit v1.1