---
title: "https文件下载报无法找到站点"
author: "apchy"
date: "2013-08-08T09:54:54Z"
tags: []
categories: ["Web前端"]
slug: "https"
draft: false
lastmod: "2013-08-08T09:54:54Z"
id: 1921839
url: "https://apchy.iteye.com/blog/1921839"
---

昨日https文件下载，IE报无法找到站点，但是http测试的时候是好的，网上找了一下，原来下载代码需要加一段，如下：

response.setHeader("Pragma", "public");  
     response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");