ungoogled-software/ungoogled-chromium
View on GitHubutils/downloads.py should check HTTP response before renaming
Open
#1,805 opened on Jan 20, 2022
enhancementhelp wanted
Repository metrics
- Stars
- (18,674 stars)
- PR merge metrics
- (Avg merge 1d 11h) (9 merged PRs in 30d)
Description
utils/downloads.py should check HTTP response and rename downloaded files only if HTTP 200 OK response received.
https://github.com/Eloston/ungoogled-chromium/blob/93cf016effb260428578c765e53b33020bc170d6/utils/downloads.py#L222-L235