mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-13 19:19:10 +00:00
Fix #485: use default HTTP proxy when checking for updates
This commit is contained in:
@@ -119,7 +119,11 @@ namespace QuickLook.Helpers
|
||||
|
||||
private static dynamic DownloadJson(string url)
|
||||
{
|
||||
var web = new WebClientEx(15 * 1000);
|
||||
var web = new WebClientEx(15 * 1000)
|
||||
{
|
||||
Proxy = WebRequest.DefaultWebProxy,
|
||||
Credentials = CredentialCache.DefaultCredentials
|
||||
};
|
||||
web.Headers.Add(HttpRequestHeader.UserAgent, "Wget/1.9.1");
|
||||
|
||||
var response =
|
||||
|
Reference in New Issue
Block a user