Bug fix #158 : troublesome check is unnecessary anyway
This commit is contained in:
parent
de45d008c7
commit
d705c23472
2 changed files with 1 additions and 4 deletions
|
|
@ -193,9 +193,6 @@ namespace AaxDecrypter
|
|||
if (response.StatusCode != HttpStatusCode.PartialContent)
|
||||
throw new WebException($"Server at {Uri.Host} responded with unexpected status code: {response.StatusCode}.");
|
||||
|
||||
if (response.Headers.GetValues("Accept-Ranges").FirstOrDefault(r => r.EqualsInsensitive("bytes")) is null)
|
||||
throw new WebException($"Server at {Uri.Host} does not support Http ranges");
|
||||
|
||||
//Content length is the length of the range request, and it is only equal
|
||||
//to the complete file length if requesting Range: bytes=0-
|
||||
if (WritePosition == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue