mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-06-15 17:18:51 +00:00
410c01547c
The headers should be overwritten in the same way, based on how `.header` is the same as `.removeHeader().addHeader()`. We weren’t closing the request resources after using them, potentially leaking file handles. This will add autoclosing for both the request and the body objects.