ungoogled-software/ungoogled-chromium

utils/downloads.py should check HTTP response before renaming

Open

#1 805 ouverte le 20 janv. 2022

Voir sur GitHub
 (0 commentaires) (1 réaction) (0 assignés)Python (771 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (18 674 stars)
Métriques de merge PR
 (Merge moyen 1j 11h) (9 PRs mergées en 30 j)

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

Guide contributeur