how can I protect big big pages ?
Hyun-ju Seo (hseo@cs.rutgers.edu)
Wed, 14 Apr 1999 15:23:57 -0400 (EDT)
From the following code..
my $req = HTTP::Request->new('GET', $url);
$req->header(Accept=>'text/html');
$req->header(Content-Length=>2000) ;
my $res = $ua->request($req) ;
I don't want to get any big big page (maybe 100 M bytes).
So, I tried not to get that kind of page like the above method.
And also I tried to give the max_size like "$ua->max_size(2000);"
However, it did not work.
If somebody has any idea, please let me know.
Thanks.
Ju.