So I am bit surprised, while I was trying to understand requests
module.
>>> furl = 'http://www.downvids.net/downloads/07275feaf477cc0f5a7a67cba965594d5c83/'
>>> resp = requests.get(furl, headers={'Accept-Encoding': 'identity'})
>>> resp.headers['content-length']
'7254371'
>>> resp2 = requests.head(furl)
>>> resp2.headers['content-length']
'20'
but doing by requests.get
i think it is downloading the whole file to buffer from which it is getting the content length !!!
so what should be the correct approach to get correct content-length if it is the case of url redirects which seems to be because i tried resp2.status_code
that gave me 302