- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 22 May 2006 02:15:35 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/ack In directory hutz:/tmp/cvs-serv31417 Modified Files: grab.pl Log Message: Some versions of safari would consider a response empty (ignoring headers) if content-length set to 0. This has been fixed in more recent versions (not yet released) of the browser http://lists.w3.org/Archives/Public/public-qa-dev/2006Apr/0012.html Index: grab.pl =================================================================== RCS file: /sources/public/2006/ack/grab.pl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- grab.pl 26 Apr 2006 22:20:14 -0000 1.3 +++ grab.pl 22 May 2006 02:15:33 -0000 1.4 @@ -54,4 +54,6 @@ print "X-LinkCheck-Status: ", $res->code(), "\n"; print "X-LinkCheck-Message: ", $res->status_line(), "\n"; print "X-LinkCheck-Redirect: ", $redirect, "\n" if $redirect; -print "Content-Length: 0\n\n"; +# print "Content-Length: 0\n\n"; +# this a hack for (some versions of) safari misbehaving with 0-length responses +print "Content-Length: 1\n\n0";
Received on Monday, 22 May 2006 02:15:38 UTC