Modification of the upload_dataset_from_library function because it didn't work, content and source information were not transmitted to the request.