diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-12-14 23:47:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 23:47:11 +0100 |
commit | ea029442e6e775b0542699bdc6d8f34e1ac5b248 (patch) | |
tree | 555485261f77fec249eac6c1dddaab9e49dedc6b /share | |
parent | 43e38d0d12b10ef4e4a9bf820fa9ad79e2c1c5f8 (diff) | |
download | spack-ea029442e6e775b0542699bdc6d8f34e1ac5b248.tar.gz spack-ea029442e6e775b0542699bdc6d8f34e1ac5b248.tar.bz2 spack-ea029442e6e775b0542699bdc6d8f34e1ac5b248.tar.xz spack-ea029442e6e775b0542699bdc6d8f34e1ac5b248.zip |
Revert "Revert "Use `urllib` handler for `s3://` and `gs://`, improve `url_exists` through HEAD requests (#34324)"" (#34498)
This reverts commit 8035eeb36d5068fcbae613e51dd13cb1ae9f4888.
And also removes logic around an additional HEAD request to prevent
a more expensive GET request on wrong content-type. Since large files
are typically an attachment and only downloaded when reading the
stream, it's not an optimization that helps much, and in fact the logic
was broken since the GET request was done unconditionally.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions