Charles Iliya Krempeaux wrote:
What I'd like to do now is to replace the "content" of an HTTP response. (I though I'd be able to do this through the nsIChannel.open method... but when I call that I get an exception. So, I guess I'm doing it wrong.)

I think what you have to do is add an "http-on-examine-response" observer, change the content type of the channel to something special, and implement a stream converter for that special content type.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to