[11786] in www-talk@info.cern.ch
using MIME multipart/mixed
daemon@ATHENA.MIT.EDU (Pravin Singhal)
Thu Dec 28 13:22:40 2000
Message-Id: <B4E8109284D3D4119F6C0050DA60A24A135101@exchangeserver.slamdunknetworks.com>
From: Pravin Singhal <pravin@slamdunknetworks.com>
To: "'www-talk@w3.org'" <www-talk@w3.org>
Date: Thu, 28 Dec 2000 10:23:09 -0800
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C070FB.3B31B730"
Resent-From: www-talk@w3.org
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C070FB.3B31B730
Content-Type: text/plain;
charset="iso-8859-1"
Hi
How can I send 2 files from the server in one stream (in one request from
the client). I have been trying to achieve this
using multipart/mixed format. I am able to do this with Netscape browser but
not with IE.
Can IE handle multipart/mixed message from the server correctly.
The server is sending a Content-Type as multipart/mixed. The message
consists of 2 body parts and
each has a Content-Type set to octet-stream. Netscape prompts the file
dialog twice and for each file
get the name from Content-Disposition of each body part (and this is the
desired behavior by me).
It seems IE fails to understand the message and simply displays the whole
message with all the headers etc.
RFC 2616 (HTTP 1.1) states "In general, an HTTP user agent SHOULD follow the
same or similar behavior as
an MIME user agent would upon receipt of a multipart type."
Is this a known bug (non compliance with HTTP protocol) with IE( 5.0 and
5.5) or I am doing something stupid.
Any help will be highly appreciated.
Thanks
Pravin Singhal.
Please also reply to pravin@slamdunknetworks.com
<mailto:pravin@slamdunknetworks.com>
------_=_NextPart_001_01C070FB.3B31B730
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV>
<P><FONT face=Arial size=2>Hi</FONT></P>
<P><FONT face=Arial size=2>How can I send 2 files from the server in one stream
(in one request from</FONT></P>
<P><FONT face=Arial size=2>the client). I have been trying to achieve
this</FONT></P>
<P><FONT face=Arial size=2>using multipart/mixed format. I am able to do this
with Netscape browser but</FONT></P>
<P><FONT face=Arial size=2>not with IE.</FONT></P>
<P><FONT face=Arial size=2>Can IE handle multipart/mixed message from the server
correctly.</FONT></P>
<P><FONT face=Arial size=2>The server is sending a Content-Type as
multipart/mixed. The message</FONT></P>
<P><FONT face=Arial size=2>consists of 2 body parts and</FONT></P>
<P><FONT face=Arial size=2>each has a Content-Type set to octet-stream. Netscape
prompts the file</FONT></P>
<P><FONT face=Arial size=2>dialog twice and for each file</FONT></P>
<P><FONT face=Arial size=2>get the name from Content-Disposition of each body
part (and this is the</FONT></P>
<P><FONT face=Arial size=2>desired behavior by me).</FONT></P>
<P><FONT face=Arial size=2>It seems IE fails to understand the message and
simply displays the whole</FONT></P>
<P><FONT face=Arial size=2>message with all the headers etc.</FONT></P>
<P><FONT face=Arial size=2>RFC 2616 (HTTP 1.1) states "In general, an HTTP user
agent SHOULD follow the</FONT></P>
<P><FONT face=Arial size=2>same or similar behavior as</FONT></P>
<P><FONT face=Arial size=2>an MIME user agent would upon receipt of a multipart
type."</FONT></P>
<P><FONT face=Arial size=2>Is this a known bug (non compliance with HTTP
protocol) with IE( 5.0 and</FONT></P>
<P><FONT face=Arial size=2>5.5) or I am doing something stupid.</FONT></P>
<P><FONT face=Arial size=2>Any help will be highly appreciated.</FONT></P>
<P><FONT face=Arial size=2>Thanks</FONT></P>
<P><FONT face=Arial size=2>Pravin Singhal.</FONT></P>
<P><FONT face=Arial size=2></FONT> </P>
<P><SPAN class=475321418-28122000><FONT face=Arial size=2>Please also reply to
<A
href="mailto:pravin@slamdunknetworks.com">pravin@slamdunknetworks.com</A></FONT></SPAN></P>
<P><SPAN class=475321418-28122000></SPAN> </P></DIV></BODY></HTML>
------_=_NextPart_001_01C070FB.3B31B730--