G
Guest
When loading an aspx page containing a MIME document, IE6 sends a second GET
request, that can be detected because the Accept-Language header is missing
or the Accept header only contains */*; I can answer with a Response.Status =
304 Not Modified and the contents sent on the first GET is displayed
correctly.
However this behaviour doesn't appear in all the clients, even on some of
them depends on the user.
On the first GET, the page is built as follows:
Response.Clear()
Response.ContentType = "application/msword"
Response.AddHeader("Content-Disposition",
"inline; filename=" & strIdDoc & ".doc")
Response.AddHeader("Content-ID", strIdDoc)
Response.AddHeader("Content-Length",
abytFile.Length.ToString)
Response.OutputStream.Write(abytFile, 0,
abytFile.Length)
Could somebody explain what causes this behaviour?. Thanks.
Alfons
request, that can be detected because the Accept-Language header is missing
or the Accept header only contains */*; I can answer with a Response.Status =
304 Not Modified and the contents sent on the first GET is displayed
correctly.
However this behaviour doesn't appear in all the clients, even on some of
them depends on the user.
On the first GET, the page is built as follows:
Response.Clear()
Response.ContentType = "application/msword"
Response.AddHeader("Content-Disposition",
"inline; filename=" & strIdDoc & ".doc")
Response.AddHeader("Content-ID", strIdDoc)
Response.AddHeader("Content-Length",
abytFile.Length.ToString)
Response.OutputStream.Write(abytFile, 0,
abytFile.Length)
Could somebody explain what causes this behaviour?. Thanks.
Alfons