
http
IT 老王
好记性,不如烂笔头!
展开
-
Mixed Content: The page at ‘xxx‘ was loaded over HTTPS, but requested an insecure resource ‘xxx‘.
HTTPS页面里动态的引入HTTP资源,比如引入一个js文件,会被直接block掉的.在HTTPS页面里通过AJAX的方式请求HTTP资源,也会被直接block掉的。页面引入了非HTTPS的页面也会导致警告Mixed Content: The page at 'xxx' was loaded over HTTPS, but requested an insecure resource 'xxx'. This request has been blocked; the content must转载 2021-02-19 21:43:08 · 244 阅读 · 0 评论 -
网站开启HTTPS后,之前使用的百度地图报错!
网站改https不论为了安全还赶趋势,眼见越来越多的站长使用。小编在修改网站的过程中就碰到发布信息没法使用百度地图一直显示“loading...”。首先看了下控制台有报错“Mixed Content: The page at 'xxx' was loaded over HTTPS, but requested an insecure script 'http://api.map.baidu.com/api?v=1.4'. This request has been blocked; the conten转载 2020-11-23 22:06:41 · 905 阅读 · 0 评论 -
http协议Connection:Keep-alive 是怎么用,一次连接可以处理多个请求?
1. 在HTTP1.0中,没有正式规定 Connection:Keep-alive 操作;在HTTP1.1中所有连接都是Keep-alive的,也就是默认都是持续连接的(Persistent Connection)。2. 两种的连接方式的区别如下图所示3. 从上图可以看出,客户端与服务器建立持续连接后,在连接期间可以处理多个请求/响应(Request/Response)...转载 2019-07-17 17:59:36 · 10449 阅读 · 0 评论