Missing parts of the previous merge

This commit is contained in:
Molkobain
2020-10-07 15:32:18 +02:00
parent ad59e81144
commit ff3ade7d62
6 changed files with 24 additions and 10 deletions

View File

@@ -43,7 +43,10 @@ class XMLPage extends WebPage
$this->m_bPassThrough = $bPassThrough;
$this->m_bHeaderSent = false;
$this->add_header("Content-type: text/xml; charset=".self::PAGES_CHARSET);
$this->add_header("Cache-control: no-cache");
$this->add_header('Cache-control: no-cache, no-store, must-revalidate');
$this->add_header('Pragma: no-cache');
$this->add_header('Expires: 0');
$this->add_header('X-Frame-Options: deny');
$this->add_header("Content-location: export.xml");
}