commit
0447e4e664
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ public class DownloadMission extends Mission {
|
||||||
conn.setInstanceFollowRedirects(true);
|
conn.setInstanceFollowRedirects(true);
|
||||||
conn.setRequestProperty("User-Agent", DownloaderImpl.USER_AGENT);
|
conn.setRequestProperty("User-Agent", DownloaderImpl.USER_AGENT);
|
||||||
conn.setRequestProperty("Accept", "*/*");
|
conn.setRequestProperty("Accept", "*/*");
|
||||||
|
conn.setRequestProperty("Accept-Encoding", "*");
|
||||||
|
|
||||||
if (headRequest) conn.setRequestMethod("HEAD");
|
if (headRequest) conn.setRequestMethod("HEAD");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue