- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 11 Sep 2007 05:02:23 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv828 Modified Files: check Log Message: sending cache-control header in requests, telling in-the-middle caches we want as fresh a version as possible: This fixes http://www.w3.org/Bugs/Public/show_bug.cgi?id=4998 Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.562 retrieving revision 1.563 diff -u -d -r1.562 -r1.563 --- check 7 Sep 2007 07:32:54 -0000 1.562 +++ check 11 Sep 2007 05:02:21 -0000 1.563 @@ -1274,6 +1274,9 @@ return $File unless $ua->uri_ok($uri); my $req = new HTTP::Request(GET => $uri); + + # telling caches in the middle we want a fresh copy (Bug 4998) + $req->header(Cache_control=> "max-age=0"); # If we got a Authorization header, the client is back at it after being # prompted for a password so we insert the header as is in the request.
Received on Tuesday, 11 September 2007 05:02:27 UTC