[EMAIL PROTECTED] wrote: > How do I examine the response body and make modifications, if > necessary, before passing this to the browser.
You have to put the data through a stream converter (generally by setting it to a type that the browser can't handle and registering a stream converter for that type). That will only work for loads in a Window, though. > I searched this group and found a long thread titled " How can > retrieved content be manipulated before being displayed by the > browser?" But the cited code did not work in my extension. See http://www.chiark.greenend.org.uk/~sgtatham/bugs.html > Also, for getResponseHeader(), is there any way to enumerate all > headers in the response? http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/netwerk/protocol/http/public/nsIHttpChannel.idl&rev=1.21&mark=265-275#265 -Boris _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
