I am writing an Android application that uses HttpURLConnection to download. I am wondering how the getResponseMessage () method returns . If I make a successful request (200 OK), will it return the same as the data, the data getInputStream () ? What will he return if my request receives a non-200 status code?
source
share