Hi all, I am doing a little project that adds some code to the firefox browser so it can inspect every outgoing http/https request, before the request is sent out.
I have gone through the book "Creating XPCOM Components" by Doug Tuner and Ian Oeschger to get an overall idea on how to write code in Mozilla, and the book is quite helpful. The weblock example in the book is kind of like what I need to do, but I am not sure if the nsIContentPolicy's ShouldLoad method is called before or after the http request is ent out? If it is after the request sent out, what other events my code should be listening? Also, my code need to access the headers and parameters of the http request, is that possible inside the ShouldLoad method? Can anyone provide some info regarding various mozilla components involved in a simple http request and response flow? Thanks in advance. Alan __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com _______________________________________________ Mozilla-netlib mailing list Mozilla-netlib@mozilla.org http://mail.mozilla.org/listinfo/mozilla-netlib