From aa78e760b3ebd88c8e8d1a0c73544aedb8724a31 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 11 Apr 2001 11:21:06 +0000 Subject: [PATCH] Content-Cache, Expires and Pragma added for non-error responses. Should them be there also in case of errors? --- helm/http_getter/http_getter.pl.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/http_getter/http_getter.pl.in b/helm/http_getter/http_getter.pl.in index 5efbd8836..2aa678e9f 100755 --- a/helm/http_getter/http_getter.pl.in +++ b/helm/http_getter/http_getter.pl.in @@ -607,6 +607,9 @@ sub answer { unless ($contype eq ""); $res->push_header("Content-Encoding" => $contenc) unless ($contenc eq ""); + $res->push_header("Cache-Control" => "no-cache"); + $res->push_header("Pragma" => "no-cache"); + $res->push_header("Expires" => "0"); $c->send_response($res); } -- 2.39.2