summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhtdocs/docs/install.html11
-rwxr-xr-xhttpd/cgi-bin/check9
2 files changed, 13 insertions, 7 deletions
diff --git a/htdocs/docs/install.html b/htdocs/docs/install.html
index 19b9fb8..ea40e25 100755
--- a/htdocs/docs/install.html
+++ b/htdocs/docs/install.html
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: install.html,v 1.8 2004-11-15 02:37:18 ot Exp $"
---><!--#set var="date" value="\$Date: 2004-11-15 02:37:18 $"
+<!--#set var="revision" value="\$Id: install.html,v 1.9 2005-01-09 19:40:52 ville Exp $"
+--><!--#set var="date" value="\$Date: 2005-01-09 19:40:52 $"
--><!--#set var="title" value="Installation Documentation for The W3C Markup Validation Service"
--><!--#set var="relroot" value="../"
--><!--#include virtual="../header.html" -->
@@ -89,7 +89,7 @@
title="Comprehensive Perl Archive Network">CPAN</acronym></a>
(minimum versions in parenthesis after the name). The following
list was complete when CVS spit out:
- <code>$Date: 2004-11-15 02:37:18 $</code>. <tt>:-)</tt>
+ <code>$Date: 2005-01-09 19:40:52 $</code>. <tt>:-)</tt>
</p>
<p>
One easy - and strongly recommended - way to take care of all these
@@ -125,7 +125,10 @@
<dt><a href="http://search.cpan.org/dist/libwww-perl/">libwww-perl</a> &gt;= 5.60</dt>
<dd>
Gisle Aas' most excellent WWW library for Perl. This is where our
- support for downloading pages off the net comes from.
+ support for downloading pages off the net comes from. Version 5.60
+ or newer is required, however we strongly suggest a (much) newer
+ version. Validator's support for compressed responses is available
+ with version 5.802 and later.
</dd>
<dt><a href="http://search.cpan.org/dist/Net-IP/">Net-IP</a></dt>
<dd>
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 04b577c..0ed09c9 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -9,7 +9,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.370 2005-01-09 19:24:22 ville Exp $
+# $Id: check,v 1.371 2005-01-09 19:40:52 ville Exp $
#
# Disable buffering on STDOUT!
@@ -222,7 +222,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.370 $;
+ $VERSION = q$Revision: 1.371 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -1245,7 +1245,10 @@ sub handle_uri {
$lastmod = scalar(gmtime($res->last_modified));
}
- $File->{Bytes} = $res->content;
+ my $content = $res->can('decoded_content') ?
+ $res->decoded_content(charset => 'none') : $res->content;
+
+ $File->{Bytes} = $content;
$File->{Type} = $type;
$File->{ContentType} = $ct;
$File->{ContentEnc} = $res->content_encoding;