LPS-16196 Add a FileInputStream that deletes the file on close
LPS-16196 Convert toByteArray into toInputStream, and reimplement toByteArray to reuse the input stream
LPS-16196 Re-add methods
LPS-16196 Partial revert of LPS-44255 in order to put the correct (long) content length into the response header
LPS-16196 Source Formatting
LPS-16196 Use the exist api, that's the correct implementation.
LPS-16196 Remove the api that no one is using to reduce the noise, and keep things clean
LPS-16196 It is very inefficient to create temp file to hold data, just because we need to ensure to release the connection. Switch to do close(eargerly) and gc(defensively) release connection
LPS-16196 SF