bug fix in retry code

This commit is contained in:
Brahim Hadriche committed 2024-01-13 10:54:22 -05:00
1 parent 3ab65587df
commit c002028727
2 files changed
+5 -1

No files matched your search

@@ -129,7 +129,7 @@ namespace Invidious
' Retrying should usually fix the issue.
if response.StatusCode() = HttpClient.CurlErrors.CURLE_UNSUPPORTED_PROTOCOL
errorMessage = response.ErrorMessage()
if errorMessage.Contains("HTTP/0.9")
if errorMessage.InStr("HTTP/0.9") <> -1
return true
end if
end if