code: public void put(InputStream is) throws APIException {
          HttpResponse response = client.put(getUrl(), new InputStreamEntity(is, -1, ContentType.APPLICATION_OCTET_STREAM));
          HttpClientHelpers.throwIfNotOk(response);
      }
docs: Upload raw data to this file as an input stream
  @param is the input stream of data to upload
  @throws APIException if there were any problems communicating with the Algorithmia API