From 579e9b00d464f60d676bc0635e36b933279ac777 Mon Sep 17 00:00:00 2001
From: David Phillips <david@sighup.nz>
Date: Thu, 25 May 2017 09:26:05 +1200
Subject: Add harder size limit to response

---
 plugin/url_title.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 
-- 
cgit v1.1