We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13f6baa commit 5f76f57Copy full SHA for 5f76f57
browserstack/local_binary.py
@@ -47,7 +47,7 @@ def __available_dir(self):
47
48
def download(self, chunk_size=8192, progress_hook=None):
49
response = urlopen(self.http_path)
50
- total_size = int(response.info().getheader('Content-Length').strip())
+ total_size = int(response.info().get_all('Content-Length').strip())
51
bytes_so_far = 0
52
53
dest_parent_dir = self.__available_dir()
0 commit comments