Lets assume that the correct content type is specified/send by the server, so when exactly will http://lxr.mozilla.org/seamonkey/source/netwerk/base/public/nsIChannel.idl#140
be available?

I need to read/check the content type (in JS) *before* the XML file is actually transfered, because I want to use .cancel() for special cases.

Also, at what point is the document initialized i.e. when are things like browser.contentDocument set?

Is there a way to cancel XML downloads *after* browser.contentDocument but *before* the document is loaded/parsed?

Michael
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to