1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-08-31 09:57:55 +00:00
This commit is contained in:
Markus Richter
2020-01-29 13:48:02 +01:00
committed by Stypox
parent be92921034
commit c0519d8313

View File

@@ -223,6 +223,7 @@ public class DownloadMission extends Mission {
conn.setInstanceFollowRedirects(true);
conn.setRequestProperty("User-Agent", DownloaderImpl.USER_AGENT);
conn.setRequestProperty("Accept", "*/*");
conn.setRequestProperty("Accept-Encoding", "*");
if (headRequest) conn.setRequestMethod("HEAD");