Skip to main content.
home | support | download

Back to List Archive

swishspider fix for content-type check at line 50

From: David Wood <dwood(at)not-real.inter.nl.net>
Date: Mon Apr 02 2001 - 01:23:13 GMT
Hi folks,

Looks like version 2.1-dev-20 might have broken something that was okay in 
2.0.5.  In swishspider, line 50 should change as follows:

50c50
<     if( $response->header("content-type") eq "text/html" ) {
---
 >     if( $response->header("content-type") =~ /text\/html/i ) {

cheers,

David 
Received on Mon Apr 2 01:31:30 2001