code: public Response put(URI uri, Object object, boolean newEntity) {
          return put(uri, object, newEntity, -1);
      }
docs: Performs a HTTP PUT request, saves or updates a document.
  
  @param object    Object for updating request
  @param newEntity If true, saves a new document. Else, updates an existing one.
  @return {@link Response}