Maya wrote: > I am facing a problem displaying contents with any MIME types which > need a plugin. I am testing it with PDF files but I think it will > pretty much be the same for any other applications.
This is displaying them in a browser window, not via the <object> or <embed> elements, right? > Since the original URL is encypted in the HTTP request, Firefox does > not set the appropriate content-type. I'm not sure what you mean here. What's encrypted where, and what does that have to do with the content-type? > If I set the content-type, explicitly (for testing), in > OnStartRequest() of the StreamListener Of your decrypting stream listener, I assume? > At what point, are the plug-ins selected when we are listening using > the StreamListener ? I'm not sure what you're asking here... > Are there any additional checks made by Firefox > to determine whether a file is a valid PDF file (other than checking > the beginning data) ? There are no checks made by Firefox at all. The message you're getting is from the plug-in itself -- it's getting data that doesn't start with "%PDF-". -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
