FIX: Mixed security warning message appears when the POST method is used to stream a PDF file over HTTPS (321532)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 6.0

This article was previously published under Q321532

SYMPTOMS

When you use a POST method over HTTPS to access a server script that streams back a Portable Document Format (PDF) file, you may receive the following warning message:
This page contains both secure and non-secure items. Do you want to display the non-secure items?

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Internet Explorer 6.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328548 How to obtain the latest service pack for Internet Explorer 6

After you apply the fix, you must make sure that the Web server that you download the PDF file from sends "Accept-Ranges: bytes" in the HTTP Response Header. However, this problem still occurs when the header is sent if the PDF file is less than 8 KB.

To work around the problem in this case and send the header, pad the PDF file so that its size is greater than or equal to 8 KB.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

Modification Type:MinorLast Reviewed:4/4/2005
Keywords:kbfix kbbug kbIE600sp1fix KB321532 kbAudDeveloper