Skip to content

Commit

Permalink
Merge pull request #3032 from mqus/fix_subtitles
Browse files Browse the repository at this point in the history
Fixes #3021
  • Loading branch information
TobiGr authored Jan 29, 2020
2 parents be92921 + fd3d61c commit 0447e4e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ HttpURLConnection openConnection(String url, boolean headRequest, long rangeStar
conn.setInstanceFollowRedirects(true);
conn.setRequestProperty("User-Agent", DownloaderImpl.USER_AGENT);
conn.setRequestProperty("Accept", "*/*");
conn.setRequestProperty("Accept-Encoding", "*");

if (headRequest) conn.setRequestMethod("HEAD");

Expand Down

0 comments on commit 0447e4e

Please sign in to comment.