Merge pull request #1556 from Zibbp/master

fix(InternalDownloadManager): add accept-encoding identity to requests
This commit is contained in:
advplyr 2025-04-25 16:25:07 -05:00 committed by GitHub
commit 1e76ebe075
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ class InternalDownloadManager(
*/
@Throws(IOException::class)
fun download(url: String) {
val request: Request = Request.Builder().url(url).build()
val request: Request = Request.Builder().url(url).addHeader("Accept-Encoding", "identity").build()
client.newCall(request)
.enqueue(
object : Callback {