code: public void resource(InputStream input) {
          checkCommitted();
          finalizeResponse();
  
          // content type to OCTET_STREAM if it's not set
          if (getContentType() == null) {
              contentType(HttpConstants.ContentType.APPLICATION_OCTET_STREAM);
          }
  
          try {
              send(input);
          } catch (IOException e) {
              throw new PippoRuntimeException(e);
          }
      }
docs: Copies the input stream to the response output stream and closes the input stream upon completion.
  <p>This method commits the response.</p>
  
  @param input