I saw in http://www.javascriptkit.com/jsref/document.shtml#e1 the function document.open(mimetype) to allow a new document to have its mimetype set to any suitable type. The page http://oopweb.com/JavaScript/Documen...art4/part4.htm (dated 2002) shows how to use this to create a page containing VRML. I want to use this to dynamically create a page of type audio/x-mpegurl (an M3U playlist) but I can't get it to work under Firefox 3.03, Opera 9.6, Galeon (all under Linux), or even IE under Windows. e.g. Firefox creates the document but gives it type text/plain.

Does anyone know of browsers that support this method or of any special tricks needed to use it?