Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] 2.4.5 > Warning: document '...' has no content

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Jul 24 2008 - 17:55:23 GMT
On Thu, Jul 24, 2008 at 11:10:43AM -0400, Brad Bauer wrote:
> In spider.pl there is a line similar to $content = $response.decoded;  If I
> changed this line to $content = $response.content the content showed up
> correctly.  There is obviously some sort of conflict between the new
> spider.pl and our server.

All $response->content_decoded does is 1) uncompress the file if it's
been compressed (which should only happen if the spider requested
compression) and decodes whatever charset the input is into Perl.
Both of those things should be desirable.

So, could it be that you are sending the wrong encoding and then Perl
is unable to correctly decode?




-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Jul 24 13:55:27 2008