Posted on 2007-03-30 10:22:13-07 by cpetercpan in response to 4717
Re: mail notification unusable if web page compressed
workaround (in webmon.pl):
my $mon = WWW::Monitor->new('MAIL_CALLBACK'=>\&notify,'CACHE'=>$cache); #Initializing ... $mon->add_header( 'Accept-Encoding' => 'identity' ); ## gzip workaround : "identity" means unenco +ded content
I think a better solution would be (in WWW::Monitor(::Task)) to accept gzip data and to ungzip it if encoded (before using Text::Diff).
Direct Responses: 4736 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.