in reply to How to only download first 200 bytes of an image ?

my $ua = LWP::UserAgent->new(max_size => 200);