This commit is contained in:
2020-08-09 19:09:24 -04:00
parent b0e66c4fa5
commit d18f8dad97
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ Function IsDownloadable
Catch [System.Net.WebException] { $HTTPResponse = $_.Exception.Response }
## Close the connection, because we're done with it
Finaly { $HTTPResponse.Close() }
Finally { $HTTPResponse.Close() }
## Test to make sure we received a status of 200 "OK" from the resource
If ($HTTPStatus -eq 200) { Return $true }