liuzhen007 liuzhen007
4年前
问题 first path segment in URL cannot contain colon 的解决方案
目录问题解决问题使用Golang开发流媒体服务器处理Post请求时,遇到了这个报错信息:2020/12/1407:21:01callbackpostfailed2020/12/1407:21:01error::8080/api/callback:firstpathsegmentinURLcannotcontaincol
kenx kenx
4年前
SpringBoot Validation优雅的全局参数校验
前言我们都知道在平时写controller时候,都需要对请求参数进行后端校验,一般我们可能会这样写javapublicStringadd(UserVOuserVO)if(userVO.getAge()null)return"年龄不能为空";if(userVO.getAge()120)r
Wesley13 Wesley13
4年前
IP地址查询接口及调用方法
设计蜂巢IP地址查询接口:http://www.hujuntao.com/api/ip/ip.php腾讯IP地址查询接口:http://fw.qq.com/ipaddress新浪IP地址查询接口:http://int.dpool.sina.com.cn/iplookup/iplookup.php?formatjs搜狐I
Stella981 Stella981
4年前
Prometheus监控学习笔记之PromQL简单示例
0x00简单的时间序列选择返回度量指标http_requests_total的所有时间序列样本数据:http_requests_total返回度量指标名称为http_requests_total,标签分别是job"apiserver",handler"/api/comments"
Stella981 Stella981
4年前
PHP开发Linux桌面应用和Android应用思路
PHP7中用opcache.file\_cache导出脚本opcode实现源代码保护http://my.oschina.net/eechen/blog/539995(http://my.oschina.net/eechen/blog/539995)下载PHPDroid:基于WebView和PHP内置HTTP服务器开发Android应用
Stella981 Stella981
4年前
OSChina 周六乱弹 —— 这辈子最丢脸的事
周末的早上不用来睡觉简直就是浪费,尤其是在这么冷的冬天@Force武装卫队(http://my.oschina.net/GIIoOS):好冷!http://static.oschina.net/uploads/space/2015/1218/082714_6SPE_139664.jpg(http://static.oschina.
Wesley13 Wesley13
4年前
IE兼容问题
如果是通过ajax请求返回的是xml格式的内容,如: varxmlDocxmlhttp.responseXML.documentElement;//获得返回的xml文档varxSelxmlDoc.getElementsByTagName('select'); //获得xml文档中所有的select标记出现xSel为null的情况,请
Stella981 Stella981
4年前
Kangle限速
kangle支持四种方式限速,单连接限速,分组限速,每ip限速,虚拟主机限速。所有限速可以叠加设置。单连接限速(speed\_limit)点请求控制,在BEGIN表前点插入,选择
Stella981 Stella981
4年前
OncePerRequestFilter的作用
在spring中,filter都默认继承OncePerRequestFilter,但为什么要这样呢?OncePerRequestFilter顾名思义,他能够确保在一次请求只通过一次filter,而不需要重复执行。publicfinalvoiddoFilter(ServletRequestrequest,ServletResponse
Stella981 Stella981
4年前
Spring classPath:用法
参考文章地址:http://hi.baidu.com/huahua035/item/ac8a27a994b55bad29ce9d39http://blog.csdn.net/lushuaiyin/article/details/6880640http://jeiofw.blog.51cto.com/3319919/934413clas