[common] dumb

This commit is contained in:
Mort Yao 2018-07-01 15:48:22 +02:00
parent 3e89279598
commit d503237508
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -499,7 +499,7 @@ def urls_size(urls, faker=False, headers={}):
return sum([url_size(url, faker=faker, headers=headers) for url in urls])
def get_head(url, headers={}, get_method='HEAD'):
def get_head(url, headers=None, get_method='HEAD'):
logging.debug('get_head: %s' % url)
if headers: