WWW-Monitor - Re: mail notification unusable if web page compressed

Posted on Fri Mar 30 13:22:13 2007 by cpetercpan in response to 4717 (See the whole thread of 3)
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