Spring Cloud GCP 设置内容类型
您可以从相应的Resource
对象设置Google Cloud Storage文件的内容类型:
((GoogleStorageResource)gcsResource).getBlob().toBuilder().setContentType("text/html").build().update();
您可以从相应的Resource
对象设置Google Cloud Storage文件的内容类型:
((GoogleStorageResource)gcsResource).getBlob().toBuilder().setContentType("text/html").build().update();