1、需要服务端的配合,判断用户请求的user-Agent,如果是微信的话,content-type设为txt,并返回206状态码,(微信处理不了206),会自动跳转默认浏览器;如果不是微信的话,状态码返回200,content-type设置为请求的文件类型
只适用于安卓
微信唤起默认浏览器
推荐阅读
- 【ANT】description元素和属性
- vim
- 用户信息文件/etc/passwd,影子文件/etc/shadow,组信息文件/etc/group,组密码文件/etc/gshadow,用户管理相关文件
- list对象数组,xpath复杂定位校验,POST入参为number数组,POST入参为JSON对象数组
- CentOS ifconfig无IP地址解决办法
- case
- www.netcraft.com查看站点服务器使用的是什么操作系统
- The remote system refused the connection.解决办法
- 【ANT】taskdef class org.programmerplanet.ant.taskdefs.jmeter.JMeterTask cannot be found using the classloader AntClassLoader[]解决办法
- 【批处理】求取字符串长度