crawler: remove debugging print()
parent
3ca6ed5bb0
commit
505b02d70d
|
@ -323,7 +323,6 @@ class BaseCacheHandler(BaseHandler):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
elif code == 301 and cache_age < 7*24*3600:
|
elif code == 301 and cache_age < 7*24*3600:
|
||||||
print('301 so cached')
|
|
||||||
# "301 Moved Permanently" has to be cached...as long as we want (awesome HTTP specs), let's say a week (why not?)
|
# "301 Moved Permanently" has to be cached...as long as we want (awesome HTTP specs), let's say a week (why not?)
|
||||||
# use force_min=0 if you want to bypass this (needed for a proper refresh)
|
# use force_min=0 if you want to bypass this (needed for a proper refresh)
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue