Skip to content

Commit d4b42d9

Browse files
authored
Remove content-length header handling
Remove content-length header retrieval for download.
1 parent ed5ca40 commit d4b42d9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backends/qualcomm/scripts/download_qnn_sdk.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def _download_archive(url: str, archive_path: pathlib.Path) -> bool:
134134
with session.get(url, stream=True) as r:
135135
r.raise_for_status()
136136

137-
total = int(r.headers.get("content-length", 0))
138137
downloaded = 0
139138
chunk_size = 1024 * 1024 # 1MB
140139

0 commit comments

Comments
 (0)