Closed johnkozan closed 1 year ago
I'm pretty sure this fix is incorrect actually. The OpenObject
is meant to return a reader
and the caller has the responsibility to Close
the received reader
, similar to what you would do with a standard file.
Closing the Body
right away will probably leads to the file being unable to be read.
Ahah I was writing the answer as you just closed it :)
I'm not sure this is the actual fix