nitrooo wrote:

Hi,

I'm doing a little developpement around mozilla this days and I would like
to intercept and modify requests made to servers within mozilla browser and
before connection. The reason of this : my application requires remote
output stream keyword filtering to filter informations sent by user to the
server (in fact almost all the time, this will be "simple" HTTP requests
made to some HTTP server).

Then there are my questions :

1) How to access HTTP request header and content data before load happen
(before connection to server) ? with nsIRequest or child interface ?

2) How to modify HTTP request header or data before load happen ?


I've also seen nsIStreamListener but I've not found any documentation related and then could I modify data ?

Thanks a lot for answer ;)


notice: I'm not very good in english, so I hope what I wrote was easy to understand ;P


_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding



one more thing, the mozilla extension "livehttpheaders" uses the technique i described to provide a log of HTTP request and responses. check it out at http://livehttpheaders.mozdev.org/ ... it might be a good example to follow.


-darin
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to