aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/url_title.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/url_title.pm b/plugin/url_title.pm
index daaa198..4ab48af 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 => 5));
my $response = $http->get($url);