Hi, On Thu, 30 Aug 2007, Steffen Heinzl wrote: > > [...] > > I thought http-on-modify-request was used to modify the HTTP message > > sent to the HTTP server. Can I really use this to change the > > content-type of the message I receive from the server? Or do I > > misunderstand how this works? > > > > Thanks again! > I added the following code and everything seems to work fine. >
I'm trying to do the same thing but from a C++ extension. My code works fine only for requests for which URL is entered directly in the address bar. For all other requests (ones that download images, css, js files etc.) my "http-on-examine-response" is fired, it changes ContentType, but converter is not invoked. Is javascript converter invoked for all these additional requests? I wonder if I have to do anything extra in C++ code to be able to capture all requests. Regards, Jan http://firekeeper.mozdev.org _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
