> If you want to examine the responses the browser gets in general, you want to 
> use the http-on-examine-response notification.  See 
> http://developer.mozilla.org/en/docs/Observer_Notifications#HTTP_requests

Another option would be to register an nsIWebProgressListener and examine the 
headers in its onStateChange notifications (the request can be QId to 
nsIChannel in most cases; for HTTP requests also to nsIHttpChannel). That has 
the advantage over http-on-examine-response that you have more context.
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to