my $ciccontent = download($patch_dtd,"cic",$cicurl,$cicfilename,$answerformat);
# Answering the client
+ if ($answerformat eq "normal") {
+ answer($c,$ciccontent,"text/xml","");
+ } else {
answer($c,$ciccontent,"text/xml","x-gzip");
+ }
}
} elsif ($http_method eq 'GET' and $http_path eq "/resolve") {
my $outputurl = $map{$inputuri};
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);
}