Google Answers Logo
View Question
 
Q: How IE 6.0 supports multipart/mixed MIME ( No Answer,   0 Comments )
Question  
Subject: How IE 6.0 supports multipart/mixed MIME
Category: Computers > Internet
Asked by: ofer1-ga
List Price: $50.00
Posted: 16 May 2005 13:26 PDT
Expires: 15 Jun 2005 13:26 PDT
Question ID: 522325
It seems that Internet Explorer 6.0 ignores MIME Content-Type:
multipart/mixed as defined by  RFC 2183 (I believe it ignores
multipart MIME altogether).   While browsers such as Netscape or
FireFox will perform just fine to the word of the specs.  However, I
can't find anywhere in MSFT documentation that they DO NOT support
this standard.

My question is: 
1. Assuming that Internet Explorer supports multi part MIME and specifically:
Content-Type: multipart/mixed, what is the way to implement it?  I am
interested in (1) a sample code that will demonstrate IE 6.0 support
of multipart/mixed MIME format; and (2) an explanation of what's wrong
with the sample below.
2. Alternatively, if IE does not support multipart MIME, I am looking
for a workaround to accomplish the same effect by which the server
side sends a file download + a following HTML page in one HTTP
response. - please provide a sample code that demonstrates that.

Thanks for your help,
Ofer

Below an example with two part MIME.  Part #1 has a file attachment
and part #2 is a HTML page.   IE will not process this flow (nor
recognize its parts).   FireFox will download the file and display the
html page.
---------------------------
 MIME-version: 1.0
 Content-Type: multipart/mixed; boundary=BoundaryString


--BoundaryString
Content-Type: application/x-msdownload;
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename=test.exe
Content-Length:1933

Binary code here of test.exe - to run this sample replace with actual
code - don't forget to update the length above

--BoundaryString
Content-Type: text/html

<html><body>
<center>Hello - This Mime part should display while, or following the
file Download</center>
</body></html>

--BoundaryString--
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy