diff options
author | link <link@localhost> | 2002-10-12 10:12:24 +0000 |
---|---|---|
committer | link <link@localhost> | 2002-10-12 10:12:24 +0000 |
commit | 3b6c83c98e59d1a4b040d2c12321cd236e45e131 (patch) | |
tree | 31ad4a065c51fd9eee9bb68749a6d33f56702807 | |
parent | e62ed96ae420d5b023a829d449f16820493ae5b6 (diff) | |
download | markup-validator-3b6c83c98e59d1a4b040d2c12321cd236e45e131.zip markup-validator-3b6c83c98e59d1a4b040d2c12321cd236e45e131.tar.gz markup-validator-3b6c83c98e59d1a4b040d2c12321cd236e45e131.tar.bz2 |
Minor tweaks to comments and reflow/rewrap.
-rwxr-xr-x | httpd/cgi-bin/check | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 8b7a7d6..dddc5da 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.249 2002-10-12 10:00:27 link Exp $ +# $Id: check,v 1.250 2002-10-12 10:12:24 link Exp $ # # Disable buffering on STDOUT! @@ -95,7 +95,7 @@ BEGIN { # # Strings - $VERSION = q$Revision: 1.249 $; + $VERSION = q$Revision: 1.250 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; @@ -151,7 +151,7 @@ $File->{'Header'} = &prepSSI({ }); $File->{'Footer'} = &prepSSI({ File => $CFG->{'Footer'}, - Date => q$Date: 2002-10-12 10:00:27 $, + Date => q$Date: 2002-10-12 10:12:24 $, }); # @@ -256,8 +256,7 @@ $File = &find_xml_encoding ($File); # # Decide on a charset to use (first part) # -if ($File->{Charset}->{HTTP}) { - # HTTP, if given, is authoritative. +if ($File->{Charset}->{HTTP}) { # HTTP, if given, is authoritative. $File->{Charset}->{Use} = $File->{Charset}->{HTTP}; } elsif ($File->{Type} =~ m(^text/\w+\+xml$)) { # Act as if $http_charset was 'us-ascii'. (MIME rules) @@ -267,10 +266,10 @@ if ($File->{Charset}->{HTTP}) { The HTTP Content-Type field did not contain a "charset" attribute, but the Content-Type was one of the XML text/* sub-types. The relevant specification (RFC 3023) specifies a strong default of "us-ascii" for - such documents so - we will use this value regardless of any encoding you may have indicated - elsewhere. If you would like to use a different encoding, you should - arrange to have your server send this new encoding information. + such documents so we will use this value regardless of any encoding you + may have indicated elsewhere. If you would like to use a different + encoding, you should arrange to have your server send this new encoding + information. .EOF. } elsif ($File->{Charset}->{XML}) { $File->{Charset}->{Use} = $File->{Charset}->{XML}; |