mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
[common] dumb
This commit is contained in:
parent
3e89279598
commit
d503237508
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user