This commit is contained in:
Markus Richter 2020-01-29 13:48:02 +01:00
parent be92921034
commit fd3d61c6a0
No known key found for this signature in database
GPG Key ID: D2EAD1C38ED66957
1 changed files with 1 additions and 0 deletions

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");