def METHOD_NAME(self):
    self.browser.open("%s/@@site-controlpanel" % self.portal_url)
    self.browser.getControl("Site title").value = "Plone Site"
    self.browser.getControl("Expose sitemap.xml.gz").selected = True
    self.browser.getControl("Save").click()
    self.browser.open("%s/sitemap.xml.gz" % self.portal_url)
    self.assertEqual(self.browser.headers["status"].lower(), "200 ok")
    self.assertEqual(
        self.browser.headers["content-type"], "application/octet-stream"
    )