一、地址栏键入URL,按下回车发生什么?
1、DNS解析,将相应的域名解析为IP地址
2.客户端根据IP地址去寻找相应的服务器
3.与服务器进行TCP的三次握手
4、发送HTTP请求
5、 服务器处理请求并返回HTTP报文
6、浏览器解析渲染界面
7、四次挥手断开连接
二、状态码

三、get请求和post的区别

四、cookie和session区别

五、cookie和session实现


五、HTTP和HTTPS
https=http+ssl/tsl

浏览器默认填充http://,需要跳转https://,容易被劫持
网友评论