wasDAVClient

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 1  →  ?path2? @ 2
/wasDAVClient/Client.cs
@@ -113,7 +113,7 @@
#endregion
 
 
public Client(NetworkCredential credential = null, TimeSpan? uploadTimeout = null, IWebProxy proxy = null)
public Client(NetworkCredential credential = null, TimeSpan? timeout = null, IWebProxy proxy = null)
{
var handler = new HttpClientHandler();
if (proxy != null && handler.SupportsProxy)
@@ -129,11 +129,11 @@
_client = new HttpClient(handler);
_client.DefaultRequestHeaders.ExpectContinue = false;
 
if (uploadTimeout != null)
if (timeout != null)
{
_uploadClient = new HttpClient(handler);
_uploadClient.DefaultRequestHeaders.ExpectContinue = false;
_uploadClient.Timeout = uploadTimeout.Value;
_uploadClient.Timeout = timeout.Value;
}
 
}