Upon browsing through the definition of nsIChannel, I got to thinking 
about the various load attribute flags we currently define.  A quick 
check with LXR reveals that some of the flags are only used by the 
uriloader and docshell.  It seems kind of strange to define such flags 
in nsIChannel.  But, perhaps they are only there for "historical" 
reasons.  This point aside, I also found the meaning of the individual 
flags a bit confusing.  For example, what is the difference between 
FORCE_VALIDATION and VALIDATE_ALWAYS?  It seems like they should mean 
the same thing... or am I mistaken?  At any rate, I think that with all 
the changes we are planning (in particular the cache changes), we should 
take a moment and rethink these load attribute flags.  nsIChannel should 
only define load attribute flags relevant to most all -- if not all -- 
protocols, right?

Darin


Reply via email to