So I’ve been using the HttpURLRequest for a while now, but I do want to understand more of what’s going on behind the scenes. Usually, in a typical HTTP request, the server sends back an HTTP response from which the headers and body can be extracted. Still, in HttpURLRequest, you get the response code as an int using a function, same with a map of the headers, but the body is in an inputStream. How can the body be in an inputStream if HTTP is connectionless? From what I understand, the whole HTTP response is sent to the client (the one using the HttpURLRequest), and the class just takes the headers and the response code parsing them to the types of their matching variables, and keeping the body in a temp file stored in the cache for the user to read with inputStream, please help me understand if and where I’m wrong 🙂