Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
Removed some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DecaTec committed Aug 10, 2017
1 parent 51f2469 commit 77201c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions DecaTec.WebDav/WebDavClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,6 @@ public async Task<WebDavResponseMessage> DownloadFileWithProgressAsync(Uri uri,
var requestMethod = new HttpRequestMessage(HttpMethod.Get, uri);
SetHttpVersion(requestMethod);
var httpResponseMessage = await this.SendAsync(requestMethod, HttpCompletionOption.ResponseHeadersRead, cancellationToken);
// #TODO
//var response = await this.GetAsync(uri, HttpCompletionOption.ResponseHeadersRead, cancellationToken);
httpResponseMessage.EnsureSuccessStatusCode();

if (!(httpResponseMessage.Content.Headers.TryGetValues(HttpHeaderNames.ContentLength, out IEnumerable<string> contentLengthHeader) && long.TryParse(contentLengthHeader.FirstOrDefault(), out long totalLength)))
Expand Down Expand Up @@ -576,8 +574,6 @@ public async Task<WebDavResponseMessage> DownloadFileWithProgressAsync(Uri uri,
var requestMethod = new HttpRequestMessage(HttpMethod.Get, requestUri);
SetHttpVersion(requestMethod);
var httpResponseMessage = await this.SendAsync(requestMethod, completionOption, cancellationToken);
// #TODO
//var httpResponseMessage = await base.GetAsync(requestUri, completionOption, cancellationToken);
return new WebDavResponseMessage(httpResponseMessage);
}

Expand Down Expand Up @@ -2434,8 +2430,6 @@ public async Task<WebDavResponseMessage> UploadFileWithProgressAsync(Uri uri, St
SetHttpVersion(requestMethod);
var httpResponseMessage = await this.SendAsync(requestMethod, cancellationToken);
return new WebDavResponseMessage(httpResponseMessage);
// #TODO
//return new WebDavResponseMessage(await this.PutAsync(uri, streamContent, lockToken, cancellationToken));
}

#endregion Upload file
Expand Down
1 change: 0 additions & 1 deletion DecaTec.WebDav/WebDavSessionItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ private set
private bool? isReadonly;
private bool isReadonlyChanged;

// #TODO Readonly setter? Test with IIS
/// <summary>
/// Gets or sets a value indicating if the item is read only.
/// </summary>
Expand Down

0 comments on commit 77201c3

Please sign in to comment.