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

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