W3C home > Mailing lists > Public > www-talk@w3.org > July to August 1995

Re: can multi-content-type in a message?

From: Wang Qu Fei <wqf@uestc.edu.cn>
Date: Wed, 23 Aug 1995 17:20:05 +0900
Message-Id: <9508230820.AA16996@uestc1>
To: www-talk@w3.org
> > So, can I transfer different types of contents in a single message?
> > From the http draft I can see no hint whether it is possible or not.

> I think you should be able to do that using a Content-Type: multipart/mixed
>
> the output for your cgi should look like this:
> 
> [http server headers]
> Content-Type: multipart/mixed;border=ThisRandomString-----
> 
> ThisRandomString-----
> Content-Type: text/html;version=2.0
> 
> [your html here]
> ThisRandomString-----
> Content-Type: audio/au (or whatever it is)
> 
> [the stream here]
> 

I did it that way and added the missing "--". It seems OK, but the Netscape and
Hotjava let me download the output instead of playing the audio and displaying
the text.

Can anybody give me some explanation about this kind of behavior?

Thanks!
Received on Wednesday, 23 August 1995 08:23:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:18 GMT