mp4文件导致迅雷监视下载问题
2024-10-18 17:43:47
原因:没有为mp4设置响应的mime Type,默认就是附件的形式。
应该为其设置mime type类型 video/mp4
<staticContent>
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
</staticContent>
最新文章
- 同步辅助类CountDownLatch用法
- CClayer ignoreAnchorPointForPosition 参数的作用
- git rebase 和 reset的区别
- 【转载】绝对干货!Linux小白最佳实践:《超容易的Linux系统管理入门书》(连载九)如何通过源代码安装软件
- Attribute的一个列子
- Temporary exceptions can be configured via your app&#39;s Info.plist file.
- tomcat支持php
- 挖个坑,写一个Spring+SpringMVC+Mybatis的项目
- js解析jsonArray嵌套
- freemarker.template.TemplateException:Error executing macro:mainSelect
- Object类----toString,equals,hashcode
- pandas用法之二
- MT【5】蝴蝶效应:一道递推式为二次的数列
- requests下载文件并重新上传
- centos 网卡名称修改
- Android - 错误:&;quot;No resource found that matches the given name android:Theme.Material&;quot;
- 在python中逐行读取大文件
- JAVA第一个窗体小程序
- golang的array/slice
- Http status(二)