Skip to content

Commit

Permalink
Make downloads get requests
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Oct 2, 2018
1 parent 4ee14f8 commit 90b136f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1766,6 +1766,7 @@ Download::Download(string url, string filename, function<void(Download*)> done)
curl_easy_setopt(handle, CURLOPT_XFERINFODATA, &progress);
curl_easy_setopt(handle, CURLOPT_XFERINFOFUNCTION, progressfunc);
curl_easy_setopt(handle, CURLOPT_NOPROGRESS, 0);
curl_easy_setopt(handle, CURLOPT_HTTPGET, 1L);
}

Download::~Download()
Expand Down

0 comments on commit 90b136f

Please sign in to comment.