Commit cabc4db
committed
Handle content-encoding: gzip for Android tooling downloads
The Android tooling recently started to double-compress some
artifacts, with a zip file inside a gzip network stream.
Out use of Response.raw didn't handle this, but using
Response.iter_content will. The chunk length seems to be the same as
urllib3 uses internally by default.1 parent 384f438 commit cabc4db
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
0 commit comments