W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2005

validator/httpd/cgi-bin check,1.369,1.370

From: Ville Skytta <ville@dev.w3.org>
Date: Sun, 09 Jan 2005 19:24:24 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1Cnifo-0002Ur-VZ@lionel-hutz.w3.org>

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv9553/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Add Content-Encoding and Transfer-Encoding to debug output.


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.369
retrieving revision 1.370
diff -u -d -r1.369 -r1.370
--- check	9 Jan 2005 19:19:20 -0000	1.369
+++ check	9 Jan 2005 19:24:22 -0000	1.370
@@ -701,6 +701,8 @@
                       {name => 'SP_CHARSET_FIXED', value => &ent($ENV{SP_CHARSET_FIXED})},
                       {name => 'SP_ENCODING',      value => &ent($ENV{SP_ENCODING})},
                       {name => 'SP_BCTF',          value => &ent($ENV{SP_BCTF})},
+                      {name => 'Content-Encoding', value => &ent($File->{ContentEnc})},
+                      {name => 'Transfer-Encoding',value => &ent($File->{TransferEnc})},
                      ],
            );
 
@@ -1246,6 +1248,8 @@
   $File->{Bytes}           = $res->content;
   $File->{Type}            = $type;
   $File->{ContentType}     = $ct;
+  $File->{ContentEnc}      = $res->content_encoding;
+  $File->{TransferEnc}     = $res->header('Client-Transfer-Encoding');
   $File->{Charset}->{HTTP} = lc $charset;
   $File->{Modified}        = $lastmod;
   $File->{Server}          = &ent(scalar $res->server);
Received on Sunday, 9 January 2005 19:24:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:19 UTC