Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Handling for urlConnection #2902

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
nit fix
anandwana001 committed Dec 16, 2024
commit 60d4787bec496b698536dfd9692ba2368e98ed68
Original file line number Diff line number Diff line change
@@ -50,7 +50,6 @@ class UrlInputStream(private val url: String, private val byteRange: LongRange?
if (responseCode != expectedResponseCode) {
throw IOException("HTTP $responseCode accessing $url")
}
urlConnection.inputStream
return urlConnection.inputStream
}

Loading