I know this is more of a general programming question, but I’m going through the Golang Book and came across a section that has confused my understanding of streams. Specifically, it’s the part about how the net/http library will return the response body as a readable stream. How does that work? Isn’t the response already held in memory by the time the request has been received?
How do streams work?