5

The close() method of StreamingBody is clearly documented. However, it is unclear whether we should proactively close it after use.

As of the few examples I have seen, the close() method is never explicitly called.

My concern/question is, if we don't explicitly close it, wouldn't there be the risk of leaking connections.

neurite
  • 2,608
  • 19
  • 30

0 Answers0