Skip to content
Snippets Groups Projects
Commit ad79654a authored by Antoine Lambert's avatar Antoine Lambert
Browse files

package/loader: Handle tarball download erroneously marked as gzipped

It exists cases where a tarball to dowload is marked as gzipped in the
Content-Encoding HTTP response header while in fact it is not.

So handle ContentDecodingError exception that can be raised by the
dowload method: try to download tarball raw bytes again without
attempting to uncompress the input stream.
parent 644134a8
No related branches found
Tags v0.22.2
1 merge request!213package.loader: Handle tarball download erroneously marked as gzipped
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment