从谷歌云url运行html文件

我已将html文件保存到具有公共读取权限的Google云存储中。 当我尝试打开html文件时,Chrome会自动在本地下载HTML文件,而不会在浏览器标签中打开它。

Html公共url是: https : //www.googleapis.com/download/storage/v1/b/presentationpublish/o/index_1112q_252_636703629560463983.html? generation = 1534766167109567 &alt = media

码:

return storage.UploadObject( bucket: BucketName, objectName: objectName, contentType: "text/html", source: valStream, options: new UploadObjectOptions { PredefinedAcl = publicRead } );