文件上传格式:application/octet-stream
来源:互联网 发布:visio 软件架构 编辑:程序博客网 时间:2024/05/22 01:19
<mime-mapping> <extension>apk</extension> <mime-type>application/vnd.android.package-archive</mime-type> </mime-mapping>
这是tomcat配置文件apache-tomcat-7.0.59\conf\web.xml的一段代码,我最近在做apk文件的上传,我以为struts里面的拦截文件格式就是
application/vnd.android.package-archive
但是我错了,我通过抓包(http)发现上传apk的时候的content type不是这个,格式为:
<mime-mapping> <extension>bin</extension> <mime-type>application/octet-stream</mime-type> </mime-mapping>我今天发现了一个很奇妙的事情,我通过svn更新文件,偶然看到了
application/octet-stream这是我截的图:
1 0
- 文件上传格式:application/octet-stream
- xhEditor支持HTML5的文件上传解决application/octet-stream
- application/octet-stream
- application/octet-stream
- ContentType("application/octet-stream");
- 微信小程序文件上传php服务器$_FILES[xxx][type] = application/octet-stream问题
- springmvc application/octet-stream 问题
- octet-stream文件怎么看
- MIME: s3css文件按照css加载但是返回了个application/octet-stream
- flv的MIME类型:flv-application/octet-stream
- Warning: unknown mime-type for "xxx" -- using "application/octet-stream"
- Expected mime type application/octet-stream but got text/html.
- multipart/form-data与application/octet-stream的区别、application/x-www-form-urlencoded
- multipart/form-data与application/octet-stream的区别、application/x-www-form-urlencoded
- "Could not find mime type application octet-stream"错误的解决方法
- Solr4.6 Expected content type application/octet-stream but got text/html 解决办法
- solr异常--Expected mime type application/octet-stream but got text/html.
- Solr 报错:RemoteSolrException: Expected mime type application/octet-stream but got text/html
- xgboost在windows上的安装的使用
- Method Swizzling
- 【Leetcode】119. Pascal's Triangle II
- ajax--怎么用ajax做到无刷新
- 设计模式之Builder模式
- 文件上传格式:application/octet-stream
- 14. Longest Common Prefix
- 【Unity教程】Unity3D之游戏架构脚本该如何来写
- 手动配置lnmp环境
- <LeetCode OJ> 101. Symmetric Tree
- 【正完成】java 反射一个包下的所有类
- 搭建自己的ngrok服务
- java简单的多线程实现
- OpenWRT添加物理按键(procd,ar71xx)