document aliases

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2458 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-03-18 14:21:12 +00:00
parent 26e52022ea
commit bbf96868b8

View file

@ -166,7 +166,11 @@ class UrlBase (object):
# cache keys, are set by build_url() calling set_cache_keys()
self.cache_url_key = None
self.cache_content_key = None
# alias list
# Store a list of aliases since the same resource can be known
# under several URLs. This is used for example on HTTP 30[12]
# redirections.
# Note that aliases are saved as-is, not through the cache-key-
# generating method set_cache_keys().
self.aliases = []
def set_result (self, msg, valid=True):