mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-10 09:30:59 +00:00
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:
parent
26e52022ea
commit
bbf96868b8
1 changed files with 5 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue