为什么文件扩展名为 PNG,但服务器返回的 Content-Type 是 video/mp4?-灵析社区

嚯嚯嚯嚯嚯嚯

![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250112/b9e8e8df3d51e778ec9484bba57175f0.png) 阿里云oss就这一个资源有问题,其他都是正常。OSS客户端查看该文件的http头显示Content_Type:video/mp4 ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250112/a8af3f9b6fbb4ceb7d3cfdc588c8372c.png)

阅读量:287

点赞量:11

问AI
不如先问问,扩展名跟 Content-Type 跟有什么必然联系吗? *** 看题主用的是 OSS,这玩意儿是可以随便改的: "image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250112/690b5f1977cbdbbe2459b8c1aa6e0120.png)