I'm working on bug 87428, implementing a UI for the HTML <LINK> element. <http://bugzilla.mozilla.org/show_bug.cgi?id=87428> In addition to handling the LINK element, the UI should also use the "Link:" HTTP header. The current implementation is done in XUL. I have some out of date code -- written by someone else -- that uses nsIHttpChannel (back when it was still called nsIHTTPChannel). Thus began my first foray into XPCOM and XPConnect. It didn't take me long to get stuck, though :) I've tried reading the XPCOM and XPConnect docs, and the nsIHttpChannel IDL in LXR. An example would go a long way towards helping me grok this stuff. Could someone post some example JavaScript that uses nsIHttpChannel to visit all the HTTP headers for a given URL? That should get me far enough along to finish the rest myself. Cheers, Tim -- Tim Taylor [EMAIL PROTECTED]
