Regarding non-finite response bodies

> Should I be reading the header and return a response object that
> contains an open socket instead of a byte array?

Yes. This is what I've seen from Go libraries as well, and it provides
a simple solution that gives the developer the most power.


makeworld

---

Previous in thread (10 of 13): 🗣️ Björn Wärmedal (bjorn.warmedal (a) gmail.com)

Next in thread (12 of 13): 🗣️ Ben Goldberg (ben (a) benaaron.dev)

View entire thread.