diff options
author | David Phillips <david@sighup.nz> | 2017-05-29 19:50:48 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-05-29 19:50:48 +1200 |
commit | e229ee6daf6342373c5c2e465fea0aeebb9a29c6 (patch) | |
tree | 724ee9424e6bdb91a3bec500ee5fb9f2115b7344 /plugin | |
parent | 579e9b00d464f60d676bc0635e36b933279ac777 (diff) | |
download | idalius-e229ee6daf6342373c5c2e465fea0aeebb9a29c6.tar.xz |
Correct malformed range request
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/url_title.pm | 2 |
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); |