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

Wang Qu Fei ([email protected])
Wed, 23 Aug 1995 17:20:05 +0900


> > 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!