diff options
author | David Phillips <david@sighup.nz> | 2017-05-25 09:26:05 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-05-25 09:26:05 +1200 |
commit | 579e9b00d464f60d676bc0635e36b933279ac777 (patch) | |
tree | 7e2c542936756686865b448671c0923d03305798 /plugin | |
parent | a61bc4ca5363ef2d865047a583fe76d65f17817c (diff) | |
download | idalius-579e9b00d464f60d676bc0635e36b933279ac777.tar.xz |
Add harder size limit to response
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 2a2258b..daaa198 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 => {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); |