Skip to content

Commit

Permalink
Merge pull request #331 from Artur-at-work/oem-add-stream-to-download
Browse files Browse the repository at this point in the history
Add stream parameter when downloading OEM ISO
  • Loading branch information
KaiChuan-Hsieh authored Aug 16, 2024
2 parents 69e4ec5 + 3734c72 commit 1f7144f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def download_with_credentials(self, url, token_file=None, filename=None):

# Download the file
try:
response = requests.get(url, auth=auth)
response = requests.get(url, auth=auth, stream=True)

if response.status_code == 200:
with open(filename, "wb") as file:
Expand Down

0 comments on commit 1f7144f

Please sign in to comment.