1

如何将 csv 文件的 MIME 类型更改为 application/octet-stream from application/vnd.ms-excel,因为我可以上传 csv 文件:内容类型:application/octet-stream

daily_upload = analytics.management().dailyUploads().upload(

===============1922165529==

Content-type: application/vnd.ms-excel - 
{"error":{"errors":[{"domain":"global","reason":"badContent","message":"Unsupported content with type: application/octet-stream"}],"code":400,"message":"Unsupported content with type: application/octet-stream"}}
4

0 回答 0