DownloadUrlFile does not verify that the server responded with an HTTP 200. This morning, there was an issue, which lead to lots of errors and occasional 502s. The latter were saved to the -urls.txt file, which obviously then led to further errors. Should probably use r.raise_for_status to take care of that.
DownloadUrlFile
does not verify that the server responded with an HTTP 200. This morning, there was an issue, which lead to lots of errors and occasional 502s. The latter were saved to the-urls.txt
file, which obviously then led to further errors. Should probably user.raise_for_status
to take care of that.