Set the HTTP Headers for your template.