code: public BoxHttpRequest setBody(InputStream body) throws IOException {
          mUrlConnection.setDoOutput(true);
          OutputStream output = mUrlConnection.getOutputStream();
          int b = body.read();
          while (b != -1) {
              output.write(b);
              b = body.read();
          }
          output.close();
          return this;
      }
docs: Sets the body for the HTTP request to the contents of an InputStream.
  
  @param body  InputStream to use for the contents of the body.
  @return  request with the updated body input stream.
  @throws IOException