ungoogled-software/ungoogled-chromium

utils/downloads.py should check HTTP response before renaming

Open

#1,805 opened on Jan 20, 2022

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Python (771 forks)batch import
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

Contributor guide