[9013] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Wang Qu Fei)
Wed Aug 23 08:25:34 1995

Date: Wed, 23 Aug 1995 17:20:05 +0900 
From: wqf@uestc.edu.cn (Wang Qu Fei)
To: www-talk@w3.org
Resent-From: 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!


home help back first fref pref prev next nref lref last post