diff --git a/src/you_get/common.py b/src/you_get/common.py index c8b0f80b..97bc93a5 100755 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -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: