2013-02-06 2 views
0

IE 9에서 다운로드 프로세스를 다시 시작하는 데 정말로 어려움이 있습니다. 다른 브라우저 및 다운로드 관리자는 모두 잘 작동합니다. 다운로드를 다시 시작하는 데 필요한 헤더를 알고 있지만 IE에서 다운로드를 다시 시도한 후에 보내지 않습니다. HTTP 헤더 로그 : 요청 파일 : 여기IE9에서 HTTP 다운로드 재개

======================= Request =========================== 
Connection=Keep-Alive 
Accept=*/* 
Accept-Encoding=gzip, deflate 
Host=localhost 
User-Agent=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) 
======================= Response =========================== 
Status code 200 
Server=Microsoft-IIS/7.5 
X-AspNetMvc-Version=3.0 
Last-Modified=Thu, 07 Jun 2012 14:31:35 GMT 
ETag="BCZFgJdhKko3IfS9D4nojw==" 
Accept-Ranges=bytes 
Expires=Sat, 10 Oct 2020 07:10:10 GMT 
Content-Length=4048784811 
Content-Disposition=attachment; filename=DEM_AK_Bristol Bay.zip 
Cache-Control=private 
X-AspNet-Version=4.0.30319 
Content-Type=application/zip 

그리고이 재개 로그인됩니다 : 당신이 볼 수 있듯이

======================= Request =========================== 
Connection=Keep-Alive 
Accept=*/* 
Accept-Encoding=gzip, deflate 
Host=localhost 
User-Agent=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) 
======================= Response =========================== 
Status code 200 
Server=Microsoft-IIS/7.5 
X-AspNetMvc-Version=3.0 
Last-Modified=Thu, 07 Jun 2012 14:31:35 GMT 
ETag="BCZFgJdhKko3IfS9D4nojw==" 
Accept-Ranges=bytes 
Expires=Sat, 10 Oct 2020 07:10:10 GMT 
Content-Length=4048784811 
Content-Disposition=attachment; filename=DEM_AK_Bristol Bay.zip 
Cache-Control=private 
X-AspNet-Version=4.0.30319 
Content-Type=application/zip 

절대적으로 동일합니다. 그리고 여기 파이어 폭스의 로그입니다 : 먼저 요청 :

======================= Request =========================== 
Connection=keep-alive 
Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
Accept-Encoding=gzip, deflate 
Accept-Language=ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3 
ASP.NET_SessionId=zv0ro2lhiumuijipzuamuemg 
Host=localhost 
User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 
======================= Response =========================== 
Status code 200 
Server=Microsoft-IIS/7.5 
X-AspNetMvc-Version=3.0 
Last-Modified=Thu, 07 Jun 2012 14:31:35 GMT 
ETag="BCZFgJdhKko3IfS9D4nojw==" 
Accept-Ranges=bytes 
Expires=Sat, 10 Oct 2020 07:10:10 GMT 
Content-Length=4048784811 
Content-Disposition=attachment; filename=DEM_AK_Bristol Bay.zip 
Cache-Control=private 
X-AspNet-Version=4.0.30319 
Content-Type=application/zip 

그리고 다시 시작 다운로드

======================= Request =========================== 
Connection=keep-alive 
Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
Accept-Encoding=gzip, deflate 
Accept-Language=ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3 
ASP.NET_SessionId=zv0ro2lhiumuijipzuamuemg 
Host=localhost 
<b>If-Match="BCZFgJdhKko3IfS9D4nojw==" 
If-Unmodified-Since=Thu, 07 Jun 2012 14:31:35 GMT 
Range=bytes=526057028-</b> 
User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 
======================= Response =========================== 
Status code 206 
Server=Microsoft-IIS/7.5 
X-AspNetMvc-Version=3.0 
Last-Modified=Thu, 07 Jun 2012 14:31:35 GMT 
ETag="BCZFgJdhKko3IfS9D4nojw==" 
Accept-Ranges=bytes 
Expires=-1 
Content-Length=3522727783 
Content-Range=bytes 526057028-4048784810/4048784811 
Cache-Control=no-cache 
X-AspNet-Version=4.0.30319 
Content-Type=application/zip 
Pragma=no-cache 

사람이 문제가 발생할 수 있는지 알고 있나요? 감사.

+0

Content-Disposition 헤더 필드가 손상되었습니다 (그러나 이것은 문제와 관련이 없을 것입니다). –

+0

답변 해 주셔서 감사합니다.하지만 Content-Disposition 헤더의 문제점은 무엇입니까? – cmd

+0

파일 이름은 인용되지 않지만 공백을 포함합니다. RFC 6266을 참조하십시오. –

답변

0

해결책을 찾았습니다. 캐싱 설정은 내 응용 프로그램으로 "세계 최고의 브라우저"라고 생각하여 파일이 처음부터 수정되고 다시 다운로드되었다고 생각합니다. 다른 브라우저 및 다운로드 관리자가 정상이므로 매우 이상한 행동입니다.

관련 문제